Skip to content

2.1.0 (2023-07-17) Args and Kwargs supporting

Compare
Choose a tag to compare
@Lancetnik Lancetnik released this 17 Jul 17:27
· 124 commits to main since this release

Now the package is able to validate not only a final decraled fields, but also an *args, **kwargs too!

@inject
def simple_func(
    a: int,
    *args: Tuple[float, ...],
    b: int,
    **kwargs: Dict[str, int],
):
    ...

This way, the all function variaty is supported