quri_parts.riqu.rest.configuration module#

riqu (Rest Interface for QUantum computing)

the cloud server with riqu interface. # noqa: E501

OpenAPI spec version: 1.1

Generated by: https://github.com/swagger-api/swagger-codegen.git

class quri_parts.riqu.rest.configuration.TypeWithDefault(name, bases, dct)#

Bases: type

set_default(default)#
class quri_parts.riqu.rest.configuration.Configuration#

Bases: object

NOTE: This class is auto generated by the swagger code generator program.

Ref: https://github.com/swagger-api/swagger-codegen Do not edit the class manually.

property logger_file#

The logger file.

If the logger_file is None, then add stream handler and remove file handler. Otherwise, add file handler and remove stream handler.

Parameters

value – The logger_file path.

Type

str

property debug#

Debug status

Parameters

value – The debug status, True or False.

Type

bool

property logger_format#

The logger format.

The logger_formatter will be updated when sets logger_format.

Parameters

value – The format string.

Type

str

get_api_key_with_prefix(identifier)#

Gets API key (with prefix if set).

Parameters

identifier – The identifier of apiKey.

Returns

The token for api key authentication.

get_basic_auth_token()#

Gets HTTP basic authentication header (string).

Returns

The token for basic HTTP authentication.

auth_settings()#

Gets Auth Settings dict for api client.

Returns

The Auth Settings information dict.

to_debug_report()#

Gets the essential information for debugging.

Returns

The report for debugging.