We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42454fe commit dca9c77Copy full SHA for dca9c77
src/aind_data_schema/components/devices.py
@@ -624,7 +624,7 @@ class LickSpout(Device):
624
spout_diameter_unit: SizeUnit = Field(default=SizeUnit.MM, title="Spout diameter unit")
625
626
solenoid_valve: Device = Field(..., title="Solenoid valve")
627
- lick_sensor: Device = Field(..., title="Lick sensor")
+ lick_sensor: Discriminated[Device | HarpDevice] = Field(..., title="Lick sensor")
628
lick_sensor_type: Optional[LickSensorType] = Field(default=None, title="Lick sensor type")
629
630
0 commit comments