Skip to content

Commit

Permalink
Remove bool anntotations from explicit bool attrs (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Feb 26, 2025
1 parent 8657814 commit ec6f3d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions taskiq/abc/broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ def __init__(
self.custom_dependency_context: Dict[Any, Any] = {}
self.dependency_overrides: Dict[Any, Any] = {}
# True only if broker runs in worker process.
self.is_worker_process: bool = False
self.is_worker_process = False
# True only if broker runs in scheduler process.
self.is_scheduler_process: bool = False
self.is_scheduler_process = False

def find_task(self, task_name: str) -> Optional[AsyncTaskiqDecoratedTask[Any, Any]]:
"""
Expand Down

0 comments on commit ec6f3d3

Please # to comment.