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
Static methods
def from_dict(kvs: dict | list | str | int | float | bool | None, *, infer_missing=False) ‑> ~A
def from_json(s: str | bytes | bytearray,
*,
parse_float=None,
parse_int=None,
parse_constant=None,
infer_missing=False,
**kw) ‑> ~Adef 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]
Instance 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
Methods
def to_dict(self, encode_json=False) ‑> Dict[str, dict | list | str | int | float | bool | None]
def to_json(self,
*,
skipkeys: bool = False,
ensure_ascii: bool = True,
check_circular: bool = True,
allow_nan: bool = True,
indent: int | str | None = None,
separators: Tuple[str, str] | None = None,
default: Callable | None = None,
sort_keys: bool = False,
**kw) ‑> str