Skip to content

Commit abba12a

Browse files
committed
Formatting
1 parent e5aa5ab commit abba12a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

temporalio/worker/_workflow_instance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2185,7 +2185,7 @@ def _instantiate_workflow_object(self) -> Any:
21852185
if not self._workflow_input:
21862186
raise RuntimeError("Expected workflow input. This is a Python SDK bug.")
21872187

2188-
if hasattr(self._defn.cls.__init__, "__temporal_workflow_init"): # type:ignore[misc]
2188+
if hasattr(self._defn.cls.__init__, "__temporal_workflow_init"): # type:ignore[misc]
21892189
workflow_instance = self._defn.cls(*self._workflow_input.args)
21902190
else:
21912191
workflow_instance = self._defn.cls()

tests/test_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ def fail(hint: Any, value: Any) -> None:
442442
ok(dict[bool, str], {True: "1"})
443443

444444
# On a 3.10+ dict type, None isn't returned from a key. This is potentially a bug
445-
ok(dict[None, str], {'null': "1"})
445+
ok(dict[None, str], {"null": "1"})
446446

447447
# Dict has a different value for None keys
448448
ok(Dict[None, str], {None: "1"})

0 commit comments

Comments
 (0)