type hints on main,plugin,updater,utilites.localsocket

This commit is contained in:
marios8543
2023-09-18 00:31:54 +03:00
parent 1949e9fcf1
commit df755063c2
+5 -1
View File
@@ -1,4 +1,3 @@
from __future__ import annotations
from os import stat_result
import uuid
from json.decoder import JSONDecodeError
@@ -22,6 +21,11 @@ from .localplatform import ON_WINDOWS
from . import helpers
from .localplatform import service_stop, service_start, get_home_path, get_username
class FilePickerObj(TypedDict):
file: Path
filest: stat_result
is_dir: bool
class FilePickerObj(TypedDict):
file: Path
filest: stat_result