@@ -65,9 +65,9 @@ class StudyResponse(BaseModel):
6565 study_name : str
6666 sampler_name : (
6767 typing .Literal ["TPESampler" , "NSGAIISampler" , "RandomSampler" , "GPSampler" ] | None
68- ) = Field (default = None , description = "The name of the sampler used in the study, if available ." )
68+ ) = Field (default = None , description = "The name of the sampler used in the study." )
6969 directions : list [str ] | None = Field (
70- default = None , description = "The optimization directions for each objective, if available ."
70+ default = None , description = "The optimization directions for each objective."
7171 )
7272
7373
@@ -77,13 +77,13 @@ class TrialResponse(BaseModel):
7777 default = None , description = "The parameter values suggested by the trial."
7878 )
7979 values : list [float ] | None = Field (
80- default = None , description = "The objective values of the trial, if available ."
80+ default = None , description = "The objective values of the trial."
8181 )
8282 user_attrs : dict [str , typing .Any ] | None = Field (
83- default = None , description = "User-defined attributes for the trial, if any ."
83+ default = None , description = "User-defined attributes for the trial."
8484 )
8585 system_attrs : dict [str , typing .Any ] | None = Field (
86- default = None , description = "System-defined attributes for the trial, if any ."
86+ default = None , description = "System-defined attributes for the trial."
8787 )
8888
8989
0 commit comments