Skip to content

Commit ec6f3d3

Browse files
authored
Remove bool anntotations from explicit bool attrs (#412)
1 parent 8657814 commit ec6f3d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

taskiq/abc/broker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ def __init__(
114114
self.custom_dependency_context: Dict[Any, Any] = {}
115115
self.dependency_overrides: Dict[Any, Any] = {}
116116
# True only if broker runs in worker process.
117-
self.is_worker_process: bool = False
117+
self.is_worker_process = False
118118
# True only if broker runs in scheduler process.
119-
self.is_scheduler_process: bool = False
119+
self.is_scheduler_process = False
120120

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

0 commit comments

Comments
 (0)