Skip to content

Commit a8c5fa8

Browse files
committed
require keyword arguments
1 parent 5962fb9 commit a8c5fa8

File tree

1 file changed

+3
-0
lines changed
  • src/agentex/lib/core/temporal/workers

1 file changed

+3
-0
lines changed

src/agentex/lib/core/temporal/workers/worker.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,19 +103,22 @@ def __init__(
103103
async def run(
104104
self,
105105
activities: list[Callable],
106+
*,
106107
workflow: type,
107108
) -> None: ...
108109

109110
@overload
110111
async def run(
111112
self,
112113
activities: list[Callable],
114+
*,
113115
workflows: list[type],
114116
) -> None: ...
115117

116118
async def run(
117119
self,
118120
activities: list[Callable],
121+
*,
119122
workflow: type | None = None,
120123
workflows: list[type] | None = None,
121124
):

0 commit comments

Comments
 (0)