Removed backwards-incompatible __future__ statements

recovery-function
Jef Roosens 2021-01-16 09:41:26 +01:00
parent 2660af23d8
commit 30bde36f6c
2 changed files with 1 additions and 3 deletions

View File

@ -1,4 +1,3 @@
from __future__ import annotations
import yaml
from pathlib import Path
from typing import List, Union

View File

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