From df755063c2cfd627f811b958c193c897dc0a4028 Mon Sep 17 00:00:00 2001 From: marios8543 Date: Mon, 18 Sep 2023 00:31:54 +0300 Subject: type hints on main,plugin,updater,utilites.localsocket --- backend/src/utilities.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/backend/src/utilities.py b/backend/src/utilities.py index b0e23b88..31993aed 100644 --- a/backend/src/utilities.py +++ b/backend/src/utilities.py @@ -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 -- cgit v1.2.3