Skip to content

Commit

Permalink
Core: type for CommonContext.ui (ArchipelagoMW#3796)
Browse files Browse the repository at this point in the history
* Core: type for `CommonContext.ui`

* use `Optional`
  • Loading branch information
beauxq authored Aug 17, 2024
1 parent f5218fa commit 2b1802c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CommonClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def update_game(self, game: str, name_to_id_lookup_table: typing.Dict[str, int])
starting_reconnect_delay: int = 5
current_reconnect_delay: int = starting_reconnect_delay
command_processor: typing.Type[CommandProcessor] = ClientCommandProcessor
ui = None
ui: typing.Optional["kvui.GameManager"] = None
ui_task: typing.Optional["asyncio.Task[None]"] = None
input_task: typing.Optional["asyncio.Task[None]"] = None
keep_alive_task: typing.Optional["asyncio.Task[None]"] = None
Expand Down

0 comments on commit 2b1802c

Please sign in to comment.