Skip to content

Commit

Permalink
reformat wit black 24
Browse files Browse the repository at this point in the history
  • Loading branch information
dimastbk committed Aug 2, 2024
1 parent 3261eaf commit 9ef68f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions pyzeebe/channel/channel_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
https://docs.camunda.io/docs/product-manuals/zeebe/deployment-guide/operations/setting-up-a-cluster/#keep-alive-intervals
"""

from typing import Any, Dict, Optional, Tuple

GRPC_CHANNEL_OPTIONS = {"grpc.keepalive_time_ms": 45_000}
Expand Down
6 changes: 2 additions & 4 deletions pyzeebe/worker/task_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ def task(
after: Optional[List[TaskDecorator]] = None,
*,
single_value: Literal[False] = False,
) -> Callable[[Function[P, RD]], Function[P, RD]]:
...
) -> Callable[[Function[P, RD]], Function[P, RD]]: ...

@overload
def task(
Expand All @@ -78,8 +77,7 @@ def task(
*,
single_value: Literal[True],
variable_name: str,
) -> Callable[[Function[P, R]], Function[P, R]]:
...
) -> Callable[[Function[P, R]], Function[P, R]]: ...

def task(
self,
Expand Down

0 comments on commit 9ef68f6

Please sign in to comment.