-
Notifications
You must be signed in to change notification settings - Fork 25
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] Convert from Optional[Foo]
to Foo | None
#3453
[python] Convert from Optional[Foo]
to Foo | None
#3453
Conversation
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
ae736c4
to
5a411de
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3453 +/- ##
==========================================
+ Coverage 86.24% 86.32% +0.07%
==========================================
Files 55 55
Lines 6305 6339 +34
==========================================
+ Hits 5438 5472 +34
Misses 867 867
Flags with carried forward coverage won't be shown. Click here to find out more.
|
efa8011
to
30a0df3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @mojaveazure !! :)
* [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
* [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 Co-authored-by: Paul Hoffman <[email protected]>
Convert
Optional
to union typesSC-60887
resolves #3334