Lib Check

Gather check functions and decorators.

idpconfgen.libs.libcheck.argstype(*types)[source]

Decorate a function to check for args types.

@argstype(type1, type2, (type3, type4))

For each function argument provide a type or a tuple of types.

idpconfgen.libs.libcheck.kwargstype(*types)[source]

Decorate a function to check for kwargs types.

@kwargstype(type1, type2, (type3, type4))

For each function named argument provide a type or a tuple of types.