File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 77
88
99class ModelResult (MLMBaseModel ):
10- shape : List [Union [int , float ]] = Field (..., min_items = 1 )
11- dim_order : List [str ] = Field (..., min_items = 1 )
10+ shape : List [Union [int , float ]] = Field (..., min_length = 1 )
11+ dim_order : List [str ] = Field (..., min_length = 1 )
1212 data_type : DataType
1313
1414
Original file line number Diff line number Diff line change @@ -46,4 +46,4 @@ class Runtime(MLMBaseModel):
4646 accelerator : Optional [AcceleratorType ] = Field (default = None )
4747 accelerator_constrained : bool = Field (default = False )
4848 accelerator_summary : Annotated [Optional [str ], OmitIfNone ] = Field (default = None )
49- accelerator_count : Annotated [Optional [int ], OmitIfNone ] = Field (default = None , minimum = 1 )
49+ accelerator_count : Annotated [Optional [int ], OmitIfNone ] = Field (default = None , ge = 1 )
You can’t perform that action at this time.
0 commit comments