Module crowdin_api.api_resources.dictionaries.types
Classes
class DictionaryPatchPath (*args, **kwargs)-
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)
Ancestors
- builtins.dict
Class variables
var op : PatchOperationvar path : str
class DictionaryPatchRequest (*args, **kwargs)-
Dictionary JSON Patch operation.
opis "add" or "remove".pathpoints to a word, e.g. "/words/0" (word index) or "/words/-" (append, with "add").valueis required for "add" (a word or a list of words). To remove several words in one request, specify the word indexes in reverse order.Ancestors
- builtins.dict
Class variables
var op : PatchOperationvar path : strvar value : Union[str, Iterable[str]]