parameters: (self, labware: Labware)
return_statement: return mod_labware
docstring: Specify the presence of a piece of labware on the module.
  
          :param labware: The labware object. This object should be already
                          initialized and its parent should be set to this
                          module's geometry. To initialize and load a labware
                          onto the module in one step, see
                          :py:meth:`load_labware`.
          :returns: The properly-linked labware object
docstring_summary: Specify the presence of a piece of labware on the module.
docstring_tokens: Specify the presence of a piece of labware on the module .
function: def load_labware_object(self, labware: Labware) -> Labware:
          """Specify the presence of a piece of labware on the module.
  
          :param labware: The labware object. This object should be already
                          initialized and its parent should be set to this
                          module's geometry. To initialize and load a labware
                          onto the module in one step, see
                          :py:meth:`load_labware`.
          :returns: The properly-linked labware object
          """
          mod_labware = self._geometry.add_labware(labware)
          labware_namespace, labware_load_name, labware_version = labware.uri.split("/")
          module_loc = self._geometry.parent
  
          assert isinstance(module_loc, (int, str)), "Unexpected labware object parent"
          deck_slot = types.DeckSlotName.from_primitive(module_loc)
  
          provided_offset = self._ctx._labware_offset_provider.find(
              labware_definition_uri=labware.uri,
              module_model=self.geometry.model.value,
              deck_slot=deck_slot,
          )
  
          labware.set_calibration(provided_offset.delta)
          self._ctx._implementation.get_deck().recalculate_high_z()
  
          self._ctx.labware_load_broker.publish(
              LabwareLoadInfo(
                  labware_definition=labware._implementation.get_definition(),
                  labware_namespace=labware_namespace,
                  labware_load_name=labware_load_name,
                  labware_version=int(labware_version),
                  deck_slot=deck_slot,
                  on_module=True,
                  offset_id=provided_offset.offset_id,
              )
          )
          return mod_labware
function_tokens: def load_labware_object ( self , labware : Labware ) -> Labware : mod_labware = self . _geometry . add_labware ( labware ) labware_namespace , labware_load_name , labware_version = labware . uri . split ( "/" ) module_loc = self . _geometry . parent assert isinstance ( module_loc , ( int , str ) ) , "Unexpected labware object parent" deck_slot = types . DeckSlotName . from_primitive ( module_loc ) provided_offset = self . _ctx . _labware_offset_provider . find ( labware_definition_uri = labware . uri , module_model = self . geometry . model . value , deck_slot = deck_slot , ) labware . set_calibration ( provided_offset . delta ) self . _ctx . _implementation . get_deck ( ) . recalculate_high_z ( ) self . _ctx . labware_load_broker . publish ( LabwareLoadInfo ( labware_definition = labware . _implementation . get_definition ( ) , labware_namespace = labware_namespace , labware_load_name = labware_load_name , labware_version = int ( labware_version ) , deck_slot = deck_slot , on_module = True , offset_id = provided_offset . offset_id , ) ) return mod_labware