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

[data] correct api annotation for tfrecords_datasource #46171

Merged
merged 2 commits into from
Jun 28, 2024
Merged

Conversation

can-anyscale
Copy link
Collaborator

@can-anyscale can-anyscale commented Jun 21, 2024

tfrecords_datasource has two APIs: TFRecordDatasource should be internal and TFXReadOptions should be public. To do so, I splitted tfrecords_datasource.py into two parts.

Test:

  • CI

@@ -0,0 +1,12 @@
.. _data-source-api:

Global configuration
Copy link
Member

Choose a reason for hiding this comment

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

To minimize clutter in the sidebar and improve the discoverability of TFXReadOptions, could we co-locate this reference with read_tfrecords in the Input/Output page? I don't think we should place TFXReadOptions on a page by itself if it's only used with read_tfrecords

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

totally

@can-anyscale
Copy link
Collaborator Author

@bveeramani's comments

Copy link
Member

@bveeramani bveeramani left a comment

Choose a reason for hiding this comment

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

Nice. Ty

@can-anyscale can-anyscale enabled auto-merge (squash) June 28, 2024 19:20
@github-actions github-actions bot added the go add ONLY when ready to merge, run all tests label Jun 28, 2024
@can-anyscale can-anyscale merged commit 72c32f8 into master Jun 28, 2024
8 checks passed
@can-anyscale can-anyscale deleted the can-dd04 branch June 28, 2024 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go add ONLY when ready to merge, run all tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants