class_docstr: A set of objects.Objects instances.
  
  This class allows you to either refer to an object by name or
  iterate over all available objects.
class_docstr_tok: ["A","set","of","objects.Objects","instances",".","This","class","allows","you","to","either","refer","to","an","object","by","name","or","iterate","over","all","available","objects","."]
docstr: Get an named instance of a type
  
  type_name - the name of the type of instance
  instance_name - the name of the instance to retrieve
docstr_tok: ["Get","an","named","instance","of","a","type","type_name","-","the","name","of","the","type","of","instance","instance_name","-","the","name","of","the","instance","to","retrieve"]
code: def get_type_instance(self, type_name, instance_name):
      """Get an named instance of a type
  
      type_name - the name of the type of instance
      instance_name - the name of the instance to retrieve
      """
      if (
          type_name not in self.__types_and_instance
          or instance_name not in self.__types_and_instances[type_name]
      ):
          return None
      return self.__types_and_instances[type_name][instance_name]
  
file_path: CellProfiler/src/subpackages/core/cellprofiler_core/object/_object_set.py
imports: from ._objects import Objects
label_desc: Use image node_id 9 for calling the ObjectSet obj's underlying member method code with example usage: obj.get_type_instance(type_name, instance_name) and returns: self, None