Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add validation rules to CumulativePrevalenceByLocationHandler parameters #70

Open
flaneuse opened this issue Feb 14, 2023 · 0 comments
Open
Assignees
Labels

Comments

@flaneuse
Copy link
Contributor

Refactor CumulativePrevalenceByLocationHandler to add validation:

  1. As before, create a copy of the handler to enable easy testing between the new version of the handler and the existing one
  2. Refactor the structure of the parameters to be a BioThings-style kwargs format
  3. Add validation rules for the parameters:
  • pangolin_lineage: str
  • detected: bool
  • mutations: str
  • location_id: str
  • ndays: int, min = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants