mkt.databases.api_schema.APIKeySwaggerClient
- class mkt.databases.api_schema.APIKeySwaggerClient[source]
Bases:
SwaggerAPIClient,ABCBase class for Swagger API clients with API key support.
- __init__() None
Methods
__eq__(other)Return self==value.
__init__()_stamp_from_response(res)Record query datetime + cache provenance from a requests-cache response.
_stamp_now()Record current UTC datetime; cache provenance unknown.
check_response(res)Check the response status code for errors.
Get API token, if available.
query_api()Query a Swagger API and return result.
Set API key for cBioPortal API.
Attributes
__dataclass_fields____dataclass_params____match_args__from_cacheWhether the most recent response was served from requests-cache.
query_datetimeUTC datetime the underlying network query was made (cache creation time if served from cache).