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

[Backport release-1.15] [python] Convert from Optional[Foo] to Foo | None #3467

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

github-actions[bot]
Copy link

Backport 884342a from #3453

* [python] Convert from `Optional[Foo]` to `Foo | None`
Convert `Optional` to [union
types](https://docs.python.org/3/library/stdtypes.html#union-type)

[SC-60887](https://app.shortcut.com/tiledb-inc/story/60887)

resolves #3334

* Use union types in submodules

* Use union types in tests

* Use `Union[]` instead of `| None`

* Use union types for top-level init files
@johnkerl johnkerl merged commit 761001b into release-1.15 Dec 18, 2024
@johnkerl johnkerl deleted the backport-3453-to-release-1.15 branch December 18, 2024 00:04
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.

2 participants