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

[python] Make () the default value for AxisQuery.coords #136

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

thetorpedodog
Copy link
Contributor

Since coords values are no longer Optional (and the (slice(None),) workaround is no longer needed), this updates the declared API for AxisQuery to also not be Optional (i.e., to request everything, the () should be used).

Since `coords` values are no longer `Optional` (and the `(slice(None),)`
workaround is no longer needed), this updates the declared API for
AxisQuery to also not be `Optional` (i.e., to request everything,
the `()` should be used).
Copy link
Member

@atolopko-czi atolopko-czi left a comment

Choose a reason for hiding this comment

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

LGTM

@thetorpedodog thetorpedodog merged commit 6b414d7 into main Feb 21, 2023
@thetorpedodog thetorpedodog deleted the empty-tuple-default branch February 21, 2023 16:17
@johnkerl johnkerl changed the title Make () the default value for AxisQuery.coords. [python] Make () the default value for AxisQuery.coords Feb 23, 2023
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