1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-12 15:27:14 +03:00

[Minor] More Type Hints

This commit is contained in:
David Sangrey 2024-01-05 15:39:26 -05:00
parent 29c4bd4028
commit 0b90ca7708
No known key found for this signature in database
GPG Key ID: 3AEADBB0186884BC
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ from monitor import monitor
logger = get_main_logger()
if TYPE_CHECKING:
def _(x): return x
def _(x: str): return x
UserDict = collections.UserDict[str, Any] # indicate to our type checkers what this generic class holds normally
else:

View File

@ -21,7 +21,7 @@ from EDMCLogging import get_main_logger
if TYPE_CHECKING:
import tkinter as tk
def _(x): return x
def _(x: str): return x
logger = get_main_logger()