@@ -52,13 +52,12 @@ class AnalysisReturn(BaseModel):
5252 metadata : Optional [Dict [str , Any ]] = None
5353 source_id : Optional [StrictStr ] = Field (default = None , description = "ID of the analysis this one was cloned from, if any." )
5454 point_count : Optional [StrictInt ] = Field (default = None , description = "Number of point coordinates linked to this analysis." )
55- image_count : Optional [StrictInt ] = Field (default = None , description = "Number of images linked to this analysis." )
5655 has_coordinates : Optional [StrictBool ] = None
5756 has_images : Optional [StrictBool ] = None
5857 has_z_maps : Optional [StrictBool ] = None
5958 has_t_maps : Optional [StrictBool ] = None
6059 has_beta_and_variance_maps : Optional [StrictBool ] = None
61- __properties : ClassVar [List [str ]] = ["name" , "description" , "weights" , "created_at" , "updated_at" , "id" , "public" , "user" , "username" , "study" , "images" , "points" , "conditions" , "table_id" , "entities" , "order" , "metadata" , "source_id" , "point_count" , "image_count" , " has_coordinates" , "has_images" , "has_z_maps" , "has_t_maps" , "has_beta_and_variance_maps" ]
60+ __properties : ClassVar [List [str ]] = ["name" , "description" , "weights" , "created_at" , "updated_at" , "id" , "public" , "user" , "username" , "study" , "images" , "points" , "conditions" , "table_id" , "entities" , "order" , "metadata" , "source_id" , "point_count" , "has_coordinates" , "has_images" , "has_z_maps" , "has_t_maps" , "has_beta_and_variance_maps" ]
6261
6362 model_config = ConfigDict (
6463 populate_by_name = True ,
@@ -168,11 +167,6 @@ def to_dict(self) -> Dict[str, Any]:
168167 if self .point_count is None and "point_count" in self .model_fields_set :
169168 _dict ['point_count' ] = None
170169
171- # set to None if image_count (nullable) is None
172- # and model_fields_set contains the field
173- if self .image_count is None and "image_count" in self .model_fields_set :
174- _dict ['image_count' ] = None
175-
176170 return _dict
177171
178172 @classmethod
@@ -204,7 +198,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
204198 "metadata" : obj .get ("metadata" ),
205199 "source_id" : obj .get ("source_id" ),
206200 "point_count" : obj .get ("point_count" ),
207- "image_count" : obj .get ("image_count" ),
208201 "has_coordinates" : obj .get ("has_coordinates" ),
209202 "has_images" : obj .get ("has_images" ),
210203 "has_z_maps" : obj .get ("has_z_maps" ),
0 commit comments