Skip to content

Add pydantic Field constraints#1319

Open
31puneet wants to merge 2 commits intomalariagen:masterfrom
31puneet:issue-484-part-2
Open

Add pydantic Field constraints#1319
31puneet wants to merge 2 commits intomalariagen:masterfrom
31puneet:issue-484-part-2

Conversation

@31puneet
Copy link
Copy Markdown
Contributor

This PR solves the second part of the issue #484

  • Adds Field() numeric constraints to 38 parameters across 13 *_params.py files.
  • Adds test_field_constraints.py to verify enforcement.

Closes #484

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate to pydantic validate_call() for public API parameter type validation

1 participant