@@ -254,7 +254,7 @@ def _make_stats_card(self):
254254 index = True ,
255255 )
256256 )
257- return rc .Group (blocks = stats , label = "STATS" )
257+ return rc .Group (stats , label = "STATS" )
258258
259259 def _make_text_card (self ):
260260 annotations = []
@@ -420,13 +420,13 @@ def _make_summary_stats_card(self) -> rc.Group:
420420 entites_df = self ._build_total_entity_df ()
421421 summary_stats .append (rc .Heading ("Resolved Entities" , level = 3 ))
422422 summary_stats .append (rc .DataTable (entites_df , index = True ))
423- return rc .Group (blocks = summary_stats , label = "STATS" )
423+ return rc .Group (summary_stats , label = "STATS" )
424424
425425 def _make_yaml_card (self ) -> rc .Group :
426426 """Shows the full pii config yaml."""
427427 yaml_appendix_title = rc .Heading ("Reference: YAML File" , level = 2 )
428428 yaml_appendix = rc .Yaml (self .report_spec .run_summary .config .to_dict ())
429- return rc .Group (blocks = [ yaml_appendix_title , yaml_appendix ] , label = "YAML" )
429+ return rc .Group (yaml_appendix_title , yaml_appendix , label = "YAML" )
430430
431431 def _make_model_card (self ) -> rc .Group :
432432 """Generates model card."""
@@ -446,12 +446,12 @@ def _make_model_card(self) -> rc.Group:
446446
447447 if len (model_cards ) <= 1 :
448448 return rc .Group (
449- blocks = model_cards ,
449+ model_cards ,
450450 label = "MODEL CARD" ,
451451 )
452452 return rc .Group (
453453 rc .Select (
454- blocks = model_cards ,
454+ model_cards ,
455455 type = rc .SelectType .TABS ,
456456 ),
457457 label = "MODEL CARD" ,
0 commit comments