Utils
Get the type of a registered model using its litteral type
strtype[typing.Any] | Nonestrbooltypebool - FalseAssert a json with possibility to ignore key
dict | listdict | listlist[str] | NoneGenerate a unique str for a list of str. Append _1, _2... at the end if the str is already in the list
liststrstrReturn all the subclasses type of a class, it does not include the main class
typesetReturn the list of literal values
AnylistReturn a list of parent class of class_ arg (containing class_).
typetype | NonelistCheck if an object is a json. Ok is type is primitive or a list or a dict containing list dict or primitive...
AnyboolCheck if an object is a primitive type
Anyboolissubclass safe that check the input is a class and avoid exception
typetype | tuple[type | tuple[typing.Any, ...], ...]boolCheck if two json are equals
AnyAnyboolAssert a json with possibility to ignore key
dict | listdict | listlist[str] | NoneboolRename all duplicated element in a list of str with _1, _2... at the end
listlistAnyCheck wheter a value in in a listeral list
AnyAnyboolAnytuple