Open dylanhmorris opened 1 month ago
Would be good to have generic functions for common input validation tasks. Even better to depend on a well-liked/tested library for this.
Example: checking for an integer > x, which happens in a non-generic way here: https://github.com/CDCgov/PyRenew/blob/afbb340ce35176c5fb4c23afc05bfa1ee777841e/pyrenew/process/differencedprocess.py#L234-L245
Example: checking for an integer > x
This already part of https://github.com/CDCgov/PyRenew/issues/403
Would be good to have generic functions for common input validation tasks. Even better to depend on a well-liked/tested library for this.
Example: checking for an integer > x, which happens in a non-generic way here: https://github.com/CDCgov/PyRenew/blob/afbb340ce35176c5fb4c23afc05bfa1ee777841e/pyrenew/process/differencedprocess.py#L234-L245