pdstools.infinity.internal._resource

Classes

SyncAPIResource

Helper class that provides a standard way to create an ABC using

AsyncAPIResource

Helper class that provides a standard way to create an ABC using

Module Contents

class SyncAPIResource(client: pdstools.infinity.client.SyncAPIClient)

Bases: abc.ABC

Helper class that provides a standard way to create an ABC using inheritance.

Parameters:

client (pdstools.infinity.client.SyncAPIClient)

_client: pdstools.infinity.client.SyncAPIClient
_get
_post
_patch
_put
_delete
_get_api_list
_sleep(seconds: float) None
Parameters:

seconds (float)

Return type:

None

property _public_fields
property _public_dict
__repr__(fields: List[str] | None = None)
Parameters:

fields (Union[List[str], None])

class AsyncAPIResource(client: pdstools.infinity.client.AsyncAPIClient)

Bases: abc.ABC

Helper class that provides a standard way to create an ABC using inheritance.

Parameters:

client (pdstools.infinity.client.AsyncAPIClient)

_client: pdstools.infinity.client.AsyncAPIClient
_get
_post
_patch
_put
_delete
_get_api_list
async _sleep(seconds: float) None
Parameters:

seconds (float)

Return type:

None

property _public_fields
property _public_dict
__repr__(fields: List[str] | None = None)
Parameters:

fields (Union[List[str], None])