diff options
| author | AAGaming <aagaming@riseup.net> | 2023-09-25 13:28:15 -0400 |
|---|---|---|
| committer | marios8543 <marios8543@gmail.com> | 2023-10-31 23:13:19 +0200 |
| commit | de1b24b8bc4188de9852ee98c3c71043e37974ea (patch) | |
| tree | ca71bf76efe66aeacfe8920bf4c090f638874b2e | |
| parent | fae09596a706add2f053f48420290524298f2a28 (diff) | |
| download | decky-loader-de1b24b8bc4188de9852ee98c3c71043e37974ea.tar.gz decky-loader-de1b24b8bc4188de9852ee98c3c71043e37974ea.zip | |
remove quotes on some types
| -rw-r--r-- | backend/src/loader.py | 1 | ||||
| -rw-r--r-- | backend/src/updater.py | 2 | ||||
| -rw-r--r-- | backend/src/utilities.py | 3 |
3 files changed, 4 insertions, 2 deletions
diff --git a/backend/src/loader.py b/backend/src/loader.py index ac8c6988..e59cbcaf 100644 --- a/backend/src/loader.py +++ b/backend/src/loader.py @@ -1,3 +1,4 @@ +from __future__ import annotations from asyncio import AbstractEventLoop, Queue, sleep from json.decoder import JSONDecodeError from logging import getLogger diff --git a/backend/src/updater.py b/backend/src/updater.py index b4f92adb..d28e67b0 100644 --- a/backend/src/updater.py +++ b/backend/src/updater.py @@ -27,7 +27,7 @@ class RemoteVer(TypedDict): assets: List[RemoteVerAsset] class Updater: - def __init__(self, context: 'PluginManager') -> None: + def __init__(self, context: PluginManager) -> None: self.context = context self.settings = self.context.settings # Exposes updater methods to frontend diff --git a/backend/src/utilities.py b/backend/src/utilities.py index 1e4110cf..3c7c8c2e 100644 --- a/backend/src/utilities.py +++ b/backend/src/utilities.py @@ -1,3 +1,4 @@ +from __future__ import annotations from os import stat_result import uuid from json.decoder import JSONDecodeError @@ -27,7 +28,7 @@ class FilePickerObj(TypedDict): is_dir: bool class Utilities: - def __init__(self, context: 'PluginManager') -> None: + def __init__(self, context: PluginManager) -> None: self.context = context self.util_methods: Dict[str, Callable[..., Coroutine[Any, Any, Any]]] = { "ping": self.ping, |
