aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/state.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/hydrilla/proxy/state.py')
-rw-r--r--src/hydrilla/proxy/state.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/hydrilla/proxy/state.py b/src/hydrilla/proxy/state.py
index 4142f7f..5e09367 100644
--- a/src/hydrilla/proxy/state.py
+++ b/src/hydrilla/proxy/state.py
@@ -31,9 +31,6 @@ This module defines API for keeping track of all settings, rules, mappings and
resources.
"""
-# Enable using with Python 3.7.
-from __future__ import annotations
-
import dataclasses as dc
import typing as t
@@ -79,7 +76,7 @@ class FrozenStatus(Enum):
NOT_FROZEN = 'N'
@staticmethod
- def make(letter: t.Optional[str]) -> t.Optional[FrozenStatus]:
+ def make(letter: t.Optional[str]) -> t.Optional['FrozenStatus']:
if letter is None:
return None
@@ -419,7 +416,7 @@ class ResourceVersionRef(Ref, item_infos.CorrespondsToResourceDCMixin):
...
@abstractmethod
- def get_dependency(self, identifier: str) -> ResourceVersionRef:
+ def get_dependency(self, identifier: str) -> 'ResourceVersionRef':
...
@abstractmethod