cdh.rest.client.clients.collections module

class cdh.rest.client.clients.collections.CollectionClient[source]

Bases: BaseClient

Default API client for resources

__init__()[source]
contribute_to_class(cls, _)[source]

This configures the client to the specific collection class

get(**kwargs)[source]

Gets a collection from the API. Either over GET or GET_OVER_POST, depending on configuration.

Any kwargs supplied, that are not used for path variables, will be sent to the API. In case of GET, these will be supplied as parameters. In case of GET_OVER_POST, these will be supplied in the POST body.

Parameters

kwargs – Any additional info to be sent.

Returns