Skip to content

Commit

Permalink
Merge branch 'release/0.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
s3rius committed Sep 16, 2022
2 parents 42f949b + fb23200 commit ab0053f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "taskiq"
version = "0.1.0"
version = "0.1.1"
description = "Distributed task queue with full async support"
authors = ["Pavel Kirilin <[email protected]>"]
maintainers = ["Pavel Kirilin <[email protected]>"]
Expand Down
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

0 comments on commit ab0053f

Please sign in to comment.