File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
bioimageio/core/resource_io Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,12 @@ class CiteEntry(Node, rdf_raw_nodes.CiteEntry):
6161
6262
6363@dataclass
64- class Author (Node , rdf_raw_nodes .Author ):
64+ class Author (Node , model_raw_nodes .Author ):
65+ pass
66+
67+
68+ @dataclass
69+ class Maintainer (Node , model_raw_nodes .Maintainer ):
6570 pass
6671
6772
@@ -72,6 +77,7 @@ class Badge(Node, rdf_raw_nodes.Badge):
7277
7378@dataclass
7479class RDF (rdf_raw_nodes .RDF , Node ):
80+ badges : Union [_Missing , List [Badge ]] = missing
7581 covers : Union [_Missing , List [Path ]] = missing
7682
7783
@@ -186,6 +192,8 @@ class Attachments(Node, model_raw_nodes.Attachments):
186192
187193@dataclass
188194class Model (model_raw_nodes .Model , RDF , Node ):
195+ authors : List [Author ] = missing # type: ignore # base RDF has List[Union[Author, str]], but should change soon
196+ maintainers : Union [_Missing , List [Maintainer ]] = missing
189197 test_inputs : List [Path ] = missing
190198 test_outputs : List [Path ] = missing
191199 weights : Dict [model_raw_nodes .WeightsFormat , WeightsEntry ] = missing
You can’t perform that action at this time.
0 commit comments