more beautiful typehints warning

This commit is contained in:
2025-05-04 03:08:54 +03:00
parent 83955aa046
commit adf3431388
3 changed files with 12 additions and 6 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ console = Console()
@work_router.command(Command('get', 'Get Help', aliases=['help', 'Get_help'], flags=Flags(PredefinedFlags.PORT, PredefinedFlags.HOST)))
def command_help(response: Response):
def command_help(response: int):
print(response.status)
print(response.undefined_flags.get_flags())
print(response.valid_flags.get_flags())
@@ -21,7 +21,7 @@ def command_help(response: Response):
@work_router.command(Command('run', 'Run All'))
def command_start_solving(response: Response):
def command_start_solving(response: str):
print(response.status)
print(response.undefined_flags.get_flags())
print(response.valid_flags.get_flags())