@@ -208,7 +208,7 @@ class ManipulatorModule(DomeModule):
208208 """A dome module connected to a 3-axis manipulator"""
209209
210210 primary_targeted_structure : str = Field (..., title = "Targeted structure" )
211- other_targeted_structure : Optional [List [str ]] = Field (None , title = "Other targeted structure" )
211+ other_targeted_structure : Optional [List [str ]] = Field (default = None , title = "Other targeted structure" )
212212 targeted_ccf_coordinates : List [CcfCoords ] = Field (
213213 default = [],
214214 title = "Targeted CCF coordinates" ,
@@ -217,11 +217,11 @@ class ManipulatorModule(DomeModule):
217217 ...,
218218 title = "Manipulator coordinates" ,
219219 )
220- bregma_coordinates : Optional [Coordinates3d ] = Field (None , title = "Bregma coordinates" )
221- surface_z : Optional [Decimal ] = Field (None , title = "Surface z" )
220+ bregma_coordinates : Optional [Coordinates3d ] = Field (default = None , title = "Bregma coordinates" )
221+ surface_z : Optional [Decimal ] = Field (default = None , title = "Surface z" )
222222 surface_z_unit : SizeUnit = Field (SizeUnit .UM , title = "Surface z unit" )
223- dye : Optional [str ] = Field (None , title = "Dye" )
224- implant_hole_number : Optional [int ] = Field (None , title = "Implant hole number" )
223+ dye : Optional [str ] = Field (default = None , title = "Dye" )
224+ implant_hole_number : Optional [int ] = Field (default = None , title = "Implant hole number" )
225225
226226
227227class FiberModule (ManipulatorModule ):
@@ -511,7 +511,7 @@ class StimulusEpoch(AindModel):
511511 Field (discriminator = "stimulus_type" ),
512512 ]
513513 ]
514- ] = Field (None , title = "Stimulus parameters" )
514+ ] = Field (default = None , title = "Stimulus parameters" )
515515 stimulus_device_names : List [str ] = Field (default = [], title = "Stimulus devices" )
516516 speaker_config : Optional [SpeakerConfig ] = Field (default = None , title = "Speaker Config" )
517517 light_source_config : Optional [List [LIGHT_SOURCE_CONFIGS ]] = Field (
@@ -582,7 +582,7 @@ class Session(AindCoreModel):
582582 headframe_registration : Optional [Affine3dTransform ] = Field (
583583 None , title = "Headframe registration" , description = "MRI transform matrix for headframe"
584584 )
585- reward_delivery : Optional [RewardDeliveryConfig ] = Field (None , title = "Reward delivery" )
586- reward_consumed_total : Optional [Decimal ] = Field (None , title = "Total reward consumed (uL )" )
587- reward_consumed_unit : VolumeUnit = Field (VolumeUnit .UL , title = "Reward consumed unit" )
588- notes : Optional [str ] = Field (None , title = "Notes" )
585+ reward_delivery : Optional [RewardDeliveryConfig ] = Field (default = None , title = "Reward delivery" )
586+ reward_consumed_total : Optional [Decimal ] = Field (default = None , title = "Total reward consumed (mL )" )
587+ reward_consumed_unit : VolumeUnit = Field (VolumeUnit .ML , title = "Reward consumed unit" )
588+ notes : Optional [str ] = Field (default = None , title = "Notes" )
0 commit comments