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

fix(endpoints): wait flag should make it wait #270

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CompuIves
Copy link
Contributor

@CompuIves CompuIves commented Mar 14, 2025

For click v8, the behaviour of flags is a bit different than I expected. If the default is True, and you pass in that flag, it will invert (to False). The actual solution is this.

Context: https://stackoverflow.com/questions/53957389/how-does-python-click-library-handle-options-that-are-flags-and-true-by-default

Because of this, if you pass --wait to together endpoints create, it will actually not wait! Oops.

@CompuIves CompuIves requested a review from mojojoji March 14, 2025 12:52
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.

1 participant