Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion taskiq/cli/scheduler/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class SchedulerArgs:
modules: List[str]
log_level: str = LogLevel.INFO.name
fs_discover: bool = False
pattern: str = "tasks.py"
tasks_pattern: str = "tasks.py"

@classmethod
Expand Down
2 changes: 1 addition & 1 deletion taskiq/cli/scheduler/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async def run_scheduler(args: SchedulerArgs) -> None: # noqa: C901, WPS210, WPS
"Imported scheduler is not a subclass of TaskiqScheduler.",
)
exit(1) # noqa: WPS421
import_tasks(args.modules, args.pattern, args.fs_discover)
import_tasks(args.modules, args.tasks_pattern, args.fs_discover)
basicConfig(
level=getLevelName(args.log_level),
format=(
Expand Down