File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 55from glob import glob
66
77from pathlib import Path
8+ from pprint import pprint
89from typing import List , Optional
910
1011import typer
@@ -110,7 +111,7 @@ def test_model(
110111 ret_code = 0
111112 else :
112113 print (f"Model test for { model_rdf } using { weight_format } weight format has FAILED!" )
113- print (summary )
114+ pprint (summary )
114115 ret_code = 1
115116 sys .exit (ret_code )
116117
@@ -138,7 +139,7 @@ def test_resource(
138139 ret_code = 0
139140 else :
140141 print (f"Resource test for { rdf } has FAILED!" )
141- print (summary )
142+ pprint (summary )
142143 ret_code = 1
143144 sys .exit (ret_code )
144145
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class Badge(Node, rdf_raw_nodes.Badge):
6363
6464
6565@dataclass
66- class RDF (rdf_raw_nodes .RDF , Node ):
66+ class RDF (rdf_raw_nodes .RDF , ResourceDescription ):
6767 badges : Union [_Missing , List [Badge ]] = missing
6868 covers : Union [_Missing , List [Path ]] = missing
6969
@@ -79,7 +79,7 @@ class ModelParent(Node, model_raw_nodes.ModelParent):
7979
8080
8181@dataclass
82- class Collection (RDF , collection_raw_nodes .Collection ):
82+ class Collection (collection_raw_nodes .Collection , RDF ):
8383 pass
8484
8585
@@ -174,7 +174,7 @@ class Attachments(Node, rdf_raw_nodes.Attachments):
174174
175175
176176@dataclass
177- class Model (model_raw_nodes .Model , RDF , Node ):
177+ class Model (model_raw_nodes .Model , RDF ):
178178 authors : List [Author ] = missing
179179 maintainers : Union [_Missing , List [Maintainer ]] = missing
180180 test_inputs : List [Path ] = missing
You can’t perform that action at this time.
0 commit comments