Skip to content

Commit c5339d9

Browse files
improve the type annotation
Co-authored-by: Jan Buchar <[email protected]>
1 parent 1360bd7 commit c5339d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apify/_actor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ async def exit(
231231
event_listeners_timeout: timedelta | None = EVENT_LISTENERS_TIMEOUT,
232232
status_message: str | None = None,
233233
cleanup_timeout: timedelta = timedelta(seconds=30),
234-
sys_exit: Callable = sys.exit,
234+
sys_exit: Callable[[int], None] = sys.exit,
235235
) -> None:
236236
"""Exit the Actor instance.
237237

0 commit comments

Comments
 (0)