Removed backwards-incompatible __future__ statements
parent
2660af23d8
commit
30bde36f6c
|
@ -1,4 +1,3 @@
|
|||
from __future__ import annotations
|
||||
import yaml
|
||||
from pathlib import Path
|
||||
from typing import List, Union
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue