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

Switch Human Review Query Parameter from Boolean to String #86

Merged
merged 13 commits into from
Aug 10, 2023

Conversation

blaise-muhirwa
Copy link
Contributor

@blaise-muhirwa blaise-muhirwa commented Aug 9, 2023

This PR changes the human_review query parameter such that it is passed in as a string instead of a boolean variable. The choices for human_review include DEFAULT, ALWAYS, and NEVER.

It also ensures that the patience time that is sent to the server-side code is at least 10.

Test cases are expected to pass once this change is reflected in the server code.

@blaise-muhirwa blaise-muhirwa marked this pull request as ready for review August 10, 2023 00:25
Auto-format Bot and others added 6 commits August 10, 2023 01:01
#84)

* updated wait times on tests such that they can pass server size validation. This will be improved once we separate client and service wait times

* Automatically reformatting code

* small update based on Tim's review

* Automatically reformatting code

---------

Co-authored-by: Auto-format Bot <[email protected]>
Copy link
Contributor

@mjvogelsong mjvogelsong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay, we have the green check!

src/groundlight/client.py Outdated Show resolved Hide resolved
test/integration/test_groundlight.py Outdated Show resolved Hide resolved
@blaise-muhirwa blaise-muhirwa merged commit 915c0d0 into main Aug 10, 2023
7 checks passed
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.

3 participants