Skip to content

Commit b191546

Browse files
committed
fix lints
1 parent 45d78a0 commit b191546

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

hello/hello_async_activity_completion.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ def compose_greeting(self, input: ComposeGreetingInput) -> str:
3939
# does not consider the activity complete from the workflow perspective
4040
activity.raise_complete_async()
4141

42-
def complete_greeting(
43-
self, task_token: bytes, input: ComposeGreetingInput
44-
) -> None:
42+
def complete_greeting(self, task_token: bytes, input: ComposeGreetingInput) -> None:
4543
# Let's wait three seconds, heartbeating each second. Note, heartbeating
4644
# during async activity completion is done via the client directly. It
4745
# is often important to heartbeat so the server can know when an

hello/hello_cancellation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
from typing import NoReturn
77

88
from temporalio import activity, workflow
9-
from temporalio.exceptions import CancelledError
109
from temporalio.client import Client, WorkflowFailureError
10+
from temporalio.exceptions import CancelledError
1111
from temporalio.worker import Worker
1212

1313

0 commit comments

Comments
 (0)