added keyword args instead of postional for execute monitor logic

This commit is contained in:
tpv committed 2026-06-30 19:37:01 -07:00
1 parent 8f86e85c50
commit 6025393ad4
2 files changed
+9 -5

No files matched your search

+3 -1
View File
@@ -135,9 +135,10 @@ def build_product_details(
async def execute_monitor_logic(
proxies: AioProxies,
category_identifiers: list[str] | dict[str, str],
task_func: Callable[..., Awaitable[None]],
*,
proxies: AioProxies,
headers: dict | None = None,
cookies: dict | None = None,
pre_task_func: Callable[..., Awaitable[None]] | None = None,
@@ -203,6 +204,7 @@ async def execute_pagination(
products_per_page: int,
func: Callable[..., Awaitable[None]],
session: aiohttp.ClientSession | AsyncSession,
*,
max_concurrent_tasks: int = 5,
start_offset: int = 24,
pagination_mode: str = "offset",