From a8c9ba7c04f05ca6a6a587bbf68522114ab149b5 Mon Sep 17 00:00:00 2001 From: Laura Cox Date: Thu, 27 Jul 2023 21:39:11 +0300 Subject: [PATCH] use camel case for the client --- robot-server/robot_server/instruments/instrument_models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/robot-server/robot_server/instruments/instrument_models.py b/robot-server/robot_server/instruments/instrument_models.py index 09a664b90b5..80ace11cdf3 100644 --- a/robot-server/robot_server/instruments/instrument_models.py +++ b/robot-server/robot_server/instruments/instrument_models.py @@ -84,9 +84,10 @@ class PipetteData(BaseModel): class PipetteState(BaseModel): """State from an attached pipette.""" - tip_detected: bool = Field( + tipDetected: bool = Field( None, description="Physical state of the tip photointerrupter on the Flex. Null for OT-2", + alias="tip_detected", )