-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[Data] Remove _default_metadata_providers
#47575
Conversation
Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: Balaji Veeramani <[email protected]>
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.
One nitty naming comment, but lgtm regardless 🧹
python/ray/data/read_api.py
Outdated
@@ -886,7 +887,7 @@ class string | |||
ValueError: if ``mode`` is unsupported. | |||
""" | |||
if meta_provider is None: | |||
meta_provider = get_image_metadata_provider() | |||
meta_provider = _ImageFileMetadataProvider() |
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.
Nit: Should we rename _ImageFileMetadataProvider
to ImageFileMetadataProvider
since it is now being used outside image datasource?
Signed-off-by: Balaji Veeramani <[email protected]>
_default_metadata_providers adds a layer of indirection. --------- Signed-off-by: Balaji Veeramani <[email protected]> Signed-off-by: ujjawal-khare <[email protected]>
_default_metadata_providers adds a layer of indirection. --------- Signed-off-by: Balaji Veeramani <[email protected]> Signed-off-by: ujjawal-khare <[email protected]>
_default_metadata_providers adds a layer of indirection. --------- Signed-off-by: Balaji Veeramani <[email protected]> Signed-off-by: ujjawal-khare <[email protected]>
_default_metadata_providers adds a layer of indirection. --------- Signed-off-by: Balaji Veeramani <[email protected]> Signed-off-by: ujjawal-khare <[email protected]>
_default_metadata_providers adds a layer of indirection. --------- Signed-off-by: Balaji Veeramani <[email protected]> Signed-off-by: ujjawal-khare <[email protected]>
_default_metadata_providers adds a layer of indirection. --------- Signed-off-by: Balaji Veeramani <[email protected]> Signed-off-by: ujjawal-khare <[email protected]>
_default_metadata_providers adds a layer of indirection. --------- Signed-off-by: Balaji Veeramani <[email protected]> Signed-off-by: ujjawal-khare <[email protected]>
_default_metadata_providers adds a layer of indirection. --------- Signed-off-by: Balaji Veeramani <[email protected]> Signed-off-by: ujjawal-khare <[email protected]>
_default_metadata_providers adds a layer of indirection. --------- Signed-off-by: Balaji Veeramani <[email protected]> Signed-off-by: ujjawal-khare <[email protected]>
Why are these changes needed?
_default_metadata_providers
adds a layer of indirection.Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.