code: def createObjectMachine(machineType, **kwargs):
    
  
    if machineType not in ObjectMachineTypes.getTypes():
      raise RuntimeError("Unknown model type: " + machineType)
  
    return getattr(ObjectMachineTypes, machineType)(**kwargs)
docs: Return an object machine of the appropriate type.
  
    @param machineType (str)  A supported ObjectMachine type
  
    @param kwargs      (dict) Constructor argument for the class that will be
                              instantiated. Keyword parameters specific to each
                              model type should be passed in here.