Skip to content

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