ivcap_client.utils

Module Contents

Classes

Links

BaseIter

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

Functions

process_error(method, r[, verbose])

set_page(next)

_unset(v)

_unset_bool(v)

_wrap(→ Union[ivcap_client.types.Unset, any])

_set_fields(self, attr, hidden_attr, kwargs)

Attributes

T

L

ivcap_client.utils.process_error(method: str, r: ivcap_client.types.Response, verbose: bool = True)[source]
ivcap_client.utils.set_page(next: str)[source]
this: Optional[str]
first: Optional[str]
next: Optional[str]
ivcap_client.utils._unset(v)[source]
ivcap_client.utils._unset_bool(v)[source]
ivcap_client.utils._wrap(v: Any) Union[ivcap_client.types.Unset, any][source]
ivcap_client.utils._set_fields(self, attr, hidden_attr, kwargs)[source]
ivcap_client.utils.T
ivcap_client.utils.L
class ivcap_client.utils.BaseIter(ivcap: ivcap_client.ivcap.IVCAP, **kwargs)[source]

Bases: abc.ABC, Generic[T, L]

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

__iter__()[source]
__next__()[source]
_fill() List[L][source]
abstract _next_el(el) T[source]
abstract _get_list() List[L][source]