ouster.sdk.util.studio module¶
- class KeycloakPKCETokenProviderV1(client_id, base_url, keycloak_url, realm_name, organization_id)[source]¶
Bases:
object
- exception RetryableException[source]¶
Bases:
ExceptionException used for driving retries in the requests. Internal use.
- exception UnAuthorizedException[source]¶
Bases:
ExceptionException used when user’s Access token is invalid. Internal use.
- class BearerTokenRedirectAdapter(token_provider, *args, **kwargs)[source]¶
Bases:
HTTPAdapterCustom adapter to ensure the bearer token is passed along in redirects.
- send(request, **kwargs)[source]¶
Sends PreparedRequest object. Returns Response object.
- Parameters:
request – The
PreparedRequestbeing sent.stream – (optional) Whether to stream the request content.
timeout (float or tuple or urllib3 Timeout object) – (optional) How long to wait for the server to send data before giving up, as a float, or a (connect timeout, read timeout) tuple.
verify – (optional) Either a boolean, in which case it controls whether we verify the server’s TLS certificate, or a string, in which case it must be a path to a CA bundle to use
cert – (optional) Any user-provided SSL certificate to be trusted.
proxies – (optional) The proxies dictionary to apply to the request.
- Return type:
requests.Response
- get_json(response)[source]¶
Helper for getting json out of response. If the response is not json or the json is invalid it returns None
- Parameters:
response (Response) – Response from the API
- Returns:
json response
- Return type:
dict
- class DataAppFile(id, recording_url, client, output_type, type)[source]¶
Bases:
object- property url¶
- Parameters:
link (str)