code: def load_module(name: str, parent: Location) -> ModuleGeometry:
      
      def_path = 'shared_data/robot-data/moduleSpecs.json'
      module_def = json.loads(  # type: ignore
          pkgutil.get_data('opentrons', def_path))
      return load_module_from_definition(module_def[name], parent)
docs: Return a :py:class:`ModuleGeometry` object from a definition looked up
      by name.
  
      :param name: A string to use for looking up the definition. The string
                   must be present as a top-level key in moduleSpecs.json.
      :param parent: A :py:class:`.Location` representing the location where
                     the front and left most point of the outside of the module
                     is (often the front-left corner of a slot on the deck).