Better typing

This commit is contained in:
Salvo 'LtWorf' Tomaselli 2020-08-13 14:38:42 +02:00
parent 08e5131479
commit 683ff6f26d
No known key found for this signature in database
GPG Key ID: B3A7CF0C801886CF

View File

@ -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':