diff options
| author | marios8543 <marios8543@gmail.com> | 2023-09-18 00:31:54 +0300 |
|---|---|---|
| committer | marios8543 <marios8543@gmail.com> | 2023-10-31 23:11:37 +0200 |
| commit | df755063c2cfd627f811b958c193c897dc0a4028 (patch) | |
| tree | ad4234e82d581b008d9149a7d3264c156586b464 /backend | |
| parent | 1949e9fcf11c3100296937338015166bde71151f (diff) | |
| download | decky-loader-df755063c2cfd627f811b958c193c897dc0a4028.tar.gz decky-loader-df755063c2cfd627f811b958c193c897dc0a4028.zip | |
type hints on main,plugin,updater,utilites.localsocket
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/src/utilities.py | 6 |
1 files changed, 5 insertions, 1 deletions
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 @@ -27,6 +26,11 @@ class FilePickerObj(TypedDict): filest: stat_result is_dir: bool +class FilePickerObj(TypedDict): + file: Path + filest: stat_result + is_dir: bool + class Utilities: def __init__(self, context: PluginManager) -> None: self.context = context |
