parameters: (self, labware_id: str)
return_statement: return Dimensions(
              x=dims.xDimension,
              y=dims.yDimension,
              z=dims.zDimension,
          )
docstring: Get the labware's dimensions.
docstring_summary: Get the labware's dimensions.
docstring_tokens: Get the labware s dimensions .
function: def get_dimensions(self, labware_id: str) -> Dimensions:
          """Get the labware's dimensions."""
          definition = self.get_definition(labware_id)
          dims = definition.dimensions
  
          return Dimensions(
              x=dims.xDimension,
              y=dims.yDimension,
              z=dims.zDimension,
          )
function_tokens: def get_dimensions ( self , labware_id : str ) -> Dimensions : definition = self . get_definition ( labware_id ) dims = definition . dimensions return Dimensions ( x = dims . xDimension , y = dims . yDimension , z = dims . zDimension , )