cdn_api
edgeimpulse_api v1.0.0
edgeimpulse_api.api.cdn_api module
class edgeimpulse_api.api.cdn_api.CDNApi(api_client=None)Bases:
object
get_user_cdn_resource(path: StrictStr, **kwargs)User CDN resource
Proxy function to retrieve data from the user CDN. This function is only used during development.
Parameters
path (str) – CDN Path (required)
async_req (bool*, *optional) – Whether to execute the request asynchronously.
_preload_content (bool*, *optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns
Returns the result object. If the method is called asynchronously, returns the request thread.
Return type
str
Last updated
Was this helpful?