Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

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 of image_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, and CRITICAL. The default level is WARNING.

Methods

validate

Validate options.

Attributes

backend_name: str = None
image: Optional[str] = None
log_level: Optional[str] = None