File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 99
1010
1111class CategoricalScore (BaseScore ):
12- value : typing . Optional [ float ] = pydantic_v1 .Field (default = None )
12+ value : float = pydantic_v1 .Field ()
1313 """
14- Only defined if a config is linked. Represents the numeric category mapping of the stringValue
14+ Represents the numeric category mapping of the stringValue. If no config is linked, defaults to 0.
1515 """
1616
1717 string_value : str = pydantic_v1 .Field (alias = "stringValue" )
Original file line number Diff line number Diff line change 99
1010
1111class CategoricalScoreV1 (BaseScoreV1 ):
12- value : typing . Optional [ float ] = pydantic_v1 .Field (default = None )
12+ value : float = pydantic_v1 .Field ()
1313 """
14- Only defined if a config is linked. Represents the numeric category mapping of the stringValue
14+ Represents the numeric category mapping of the stringValue. If no config is linked, defaults to 0.
1515 """
1616
1717 string_value : str = pydantic_v1 .Field (alias = "stringValue" )
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ class Config:
7575
7676
7777class Score_Categorical (pydantic_v1 .BaseModel ):
78- value : typing . Optional [ float ] = None
78+ value : float
7979 string_value : str = pydantic_v1 .Field (alias = "stringValue" )
8080 id : str
8181 trace_id : typing .Optional [str ] = pydantic_v1 .Field (alias = "traceId" , default = None )
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class Config:
6969
7070
7171class ScoreV1_Categorical (pydantic_v1 .BaseModel ):
72- value : typing . Optional [ float ] = None
72+ value : float
7373 string_value : str = pydantic_v1 .Field (alias = "stringValue" )
7474 id : str
7575 trace_id : str = pydantic_v1 .Field (alias = "traceId" )
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ class Config:
7878
7979class GetScoresResponseData_Categorical (pydantic_v1 .BaseModel ):
8080 trace : typing .Optional [GetScoresResponseTraceData ] = None
81- value : typing . Optional [ float ] = None
81+ value : float
8282 string_value : str = pydantic_v1 .Field (alias = "stringValue" )
8383 id : str
8484 trace_id : typing .Optional [str ] = pydantic_v1 .Field (alias = "traceId" , default = None )
You can’t perform that action at this time.
0 commit comments