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.
2 parents 89f3fcc + d6e7846 commit 26522b1Copy full SHA for 26522b1
src/aind_data_schema/components/devices.py
@@ -777,8 +777,8 @@ class Treadmill(MousePlatform):
777
device_type: Literal["Treadmill"] = "Treadmill"
778
treadmill_width: Decimal = Field(..., title="Width of treadmill (mm)")
779
width_unit: SizeUnit = Field(default=SizeUnit.CM, title="Width unit")
780
- encoder: Device = Field(..., title="Encoder")
781
- pulse_per_revolution: int = Field(..., title="Pulse per revolution")
+ encoder: Optional[Device] = Field(default=None, title="Encoder")
+ pulse_per_revolution: Optional[int] = Field(default=None, title="Pulse per revolution")
782
783
784
class Arena(MousePlatform):
0 commit comments