diff --git a/app/parser.py b/app/parser.py index f6f8234..bbac40c 100644 --- a/app/parser.py +++ b/app/parser.py @@ -1,4 +1,3 @@ -from __future__ import annotations import yaml from pathlib import Path from typing import List, Union diff --git a/app/specs/spec.py b/app/specs/spec.py index 8e57093..9b372ef 100644 --- a/app/specs/spec.py +++ b/app/specs/spec.py @@ -1,4 +1,3 @@ -from __future__ import annotations from pathlib import Path from typing import Union, Dict import skeleton @@ -88,7 +87,7 @@ class Spec: raise NotImplementedError() @classmethod - def from_dict(cls, name, obj: Dict, defaults: Dict) -> Spec: + def from_dict(cls, name, obj: Dict, defaults: Dict) -> "Spec": # Combine defaults with skeleton, creating new skeleton skel = skeleton.merge(cls.skeleton(), defaults)