Module markov.api.utils.mkv_credentials

Classes

class MKVClientCredentials (auth_token: str = '', base_url: str = '', workspace_id: str = '', user_id: str = '', team_id: str = '')

Class to hold the Client Credentials

Class variables

var auth_token : str

Base URL of the instance this should be talking to

var base_url : str

Workspace ID: ID of the active workspace

var team_id : str
var user_id : str

Team ID: ID of the team the user belongs to in the active workspace

var workspace_id : str

User ID: ID of the active user

Static methods

def from_dict(kvs: Union[dict, list, str, int, float, bool, ForwardRef(None)], *, infer_missing=False) ‑> ~A
def from_json(s: Union[str, bytes, bytearray], *, parse_float=None, parse_int=None, parse_constant=None, infer_missing=False, **kw) ‑> ~A
def schema(*, infer_missing: bool = False, only=None, exclude=(), many: bool = False, context=None, load_only=(), dump_only=(), partial: bool = False, unknown=None) ‑> dataclasses_json.mm.SchemaF[~A]

Methods

def to_dict(self, encode_json=False) ‑> Dict[str, Union[dict, list, str, int, float, bool, ForwardRef(None)]]
def to_json(self, *, skipkeys: bool = False, ensure_ascii: bool = True, check_circular: bool = True, allow_nan: bool = True, indent: Union[int, str, ForwardRef(None)] = None, separators: Optional[Tuple[str, str]] = None, default: Optional[Callable] = None, sort_keys: bool = False, **kw) ‑> str