Utils
Get the type of a registered model using its litteral type
strOptionalstrboolTypebool - FalseAssert a json with possibility to ignore key
UnionUnionListGenerate 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_).
TypeTypeListCheck 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
typeUnionboolCheck if two json are equals
AnyAnyboolAssert a json with possibility to ignore key
UnionUnionListboolRename all duplicated element in a list of str with _1, _2... at the end
ListListAnyCheck wheter a value in in a listeral list
AnyAnyboolAnyTuple