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 sanity checks for uploading of batch policy #116

Open
aaronkurz opened this issue Feb 18, 2022 · 0 comments
Open

Add sanity checks for uploading of batch policy #116

aaronkurz opened this issue Feb 18, 2022 · 0 comments

Comments

@aaronkurz
Copy link
Owner

Refactor method set_batch_policy in `source/backend/rest/batch_policy.py

# TODO: add sanity checks of data (percentages add up e.g.)
@batch_policy_api.route('', methods=['POST'])
def set_batch_policy():

Also add API tests for the sanity checks

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

No branches or pull requests

1 participant