model_wrapper

qcengine.util.model_wrapper(input_data, model)[source]

Wrap input data in the given model, or return a controlled error

Return type:

BaseModel

Parameters:
  • input_data (Dict[str, Any]) –

  • model (BaseModel) –