RuntimeOptions¶
- class RuntimeOptions(backend_name=None, image=None, log_level=None)[ソース]¶
ベースクラス:
object
Class for representing runtime execution options.
- パラメータ
backend_name (
Optional
[str
]) – target backend to run on. This is required.image (
Optional
[str
]) – the runtime image used to execute the program, specified in the form ofimage_name:tag
. Not all accounts are authorized to select a different image.log_level (
Optional
[str
]) – logging level to set in the execution environment. The valid log levels are:DEBUG
,INFO
,WARNING
,ERROR
, andCRITICAL
. The default level isWARNING
.
Methods
Validate options.
Attributes
- backend_name: str = None¶
- image: Optional[str] = None¶
- log_level: Optional[str] = None¶