remove quotes on some types

This commit is contained in:
AAGaming
2023-09-25 13:28:15 -04:00
committed by marios8543
parent fae09596a7
commit de1b24b8bc
3 changed files with 4 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
from __future__ import annotations
from asyncio import AbstractEventLoop, Queue, sleep
from json.decoder import JSONDecodeError
from logging import getLogger

View File

@@ -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

View File

@@ -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,