Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for *args and **kwargs and also dataclasses #9

Merged
merged 4 commits into from
Feb 19, 2024
Merged

Conversation

maread99
Copy link
Owner

Adds support for packing arguments, e.g. *args and **kwargs. These packing arguments can be optionally typed to validate, coerce and parse any passed arguments that will be packed up.

Also adds parse_cls decorator to provide for validating, coercing and parsing input to a 'type-annotated' dataclass.

Tests, README and tutorial revised / extended to reflect changes.

Adds `parse_cls` decorator to use same funcionality with
`dataclasses.dataclass`.

Updates tests, README and tutorial.
Adds support for packing arguments, e.g. *args and **kwargs.

Adds new and revises existing tests. Updates README and
tutorial.
@maread99 maread99 added the enhancement New feature or request label Feb 19, 2024
@maread99 maread99 merged commit 81acc70 into main Feb 19, 2024
7 checks passed
@maread99 maread99 deleted the working branch February 19, 2024 10:05
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant