Better typing
This commit is contained in:
parent
08e5131479
commit
683ff6f26d
@ -58,7 +58,7 @@ class Relation(NamedTuple):
|
|||||||
method.
|
method.
|
||||||
'''
|
'''
|
||||||
header: 'Header'
|
header: 'Header'
|
||||||
content: FrozenSet[tuple]
|
content: FrozenSet[Tuple[Rstring, ...]]
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def load(filename: Union[str, Path]) -> 'Relation':
|
def load(filename: Union[str, Path]) -> 'Relation':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user