Просмотр исходного кода

refactor: update parameter type for ui_goto function

lizhenxi 2 лет назад
Родитель
Сommit
fae847af0a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tasks/GameUi/game_ui.py

+ 1 - 1
tasks/GameUi/game_ui.py

@@ -158,7 +158,7 @@ class GameUi(BaseTask, GameUiAssets):
         """
         """
         pass
         pass
 
 
-    def ui_goto(self, destination, confirm_wait=0, skip_first_screenshot=True):
+    def ui_goto(self, destination: Page, confirm_wait=0, skip_first_screenshot=True):
         """
         """
         Args:
         Args:
             destination (Page):
             destination (Page):