EnvironmentOptions¶
- class EnvironmentOptions(log_level='WARNING', job_tags=None, private=False)[source]¶
Bases:
objectOptions related to the execution environment.
Attributes
- Parameters:
log_level (Literal['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'])
job_tags (List | None)
private (bool | None)
- job_tags: List | None = None¶
Tags to be assigned to the job. The tags can subsequently be used as a filter in the
qiskit_ibm_runtime.qiskit_runtime_service.jobs()function call.Default:
None.
- log_level: Literal['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'] = 'WARNING'¶
logging level to set in the execution environment. The valid log levels are:
DEBUG,INFO,WARNING,ERROR, andCRITICAL.Default:
WARNING.
- private: bool | None = False¶
Boolean that indicates whether the job is marked as private. When set to true, input parameters are not returned, and the results can only be read once. After the job is completed, input parameters are deleted from the service. After the results are read, these are also deleted from the service. When set to false, the input parameters and results follow the standard retention behavior of the API.
Default: False.
Methods