Home | Trees | Indices | Help |
---|
|
|
|||
OrderedJsonModel Model class for JSON that preserves the contents' order. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
_logger = logging.getLogger('arvados.api')
|
|||
MAX_IDLE_CONNECTION_DURATION = 30
|
|||
RETRY_DELAY_INITIAL = 2
|
|||
RETRY_DELAY_BACKOFF = 2
|
|||
RETRY_COUNT = 2
|
|||
_cast_orig = apiclient_discovery._cast
|
|
Return an apiclient Resources object for an Arvados instance. :version: A string naming the version of the Arvados API to use (for example, 'v1'). :cache: Use a cache (~/.cache/arvados/discovery) for the discovery document. :host: The Arvados API server host (and optional :port) to connect to. :token: The authentication token to send with each API call. :insecure: If True, ignore SSL certificate validation errors. :request_id: Default X-Request-Id header value for outgoing requests that don't already provide one. If None or omitted, generate a random ID. When retrying failed requests, the same ID is used on all attempts. Additional keyword arguments will be passed directly to `apiclient_discovery.build` if a new Resource object is created. If the `discoveryServiceUrl` or `http` keyword arguments are missing, this function will set default values for them, based on the current Arvados configuration settings. |
Return an apiclient Resources object enabling access to an Arvados server instance. :version: A string naming the version of the Arvados REST API to use (for example, 'v1'). :apiconfig: If provided, this should be a dict-like object (must support the get() method) with entries for ARVADOS_API_HOST, ARVADOS_API_TOKEN, and optionally ARVADOS_API_HOST_INSECURE. If not provided, use arvados.config (which gets these parameters from the environment by default.) Other keyword arguments such as `cache` will be passed along `api()` |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Dec 28 19:40:39 2023 | http://epydoc.sourceforge.net |