Skip to content
This repository was archived by the owner on Aug 20, 2025. It is now read-only.

Conversation

vulkomilev
Copy link
Contributor

Fixes #16

It's a good idea to open an issue first for discussion.

  • [ X] Tests pass
  • Appropriate changes to README are included in PR

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions
Copy link
Contributor

Thanks for the PR! 🚀

Instructions: Approve using /lgtm and mark for automatic merge by using /merge.

@hanneshapke
Copy link
Contributor

hanneshapke commented Apr 25, 2023

@vulkomilev Thank you for the new PR!
pylint and isort are green. Looks like yapf complains about the indentation level in this file examples/filter_component/filter_function.py. Maybe you can update the file manually.

@rcrowe-google rcrowe-google requested review from hanneshapke and removed request for theadactyl April 25, 2023 18:39
Copy link
Contributor

@rcrowe-google rcrowe-google left a comment

Choose a reason for hiding this comment

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

Getting close! Could you:

  1. Remove examples/filter_component/tfx-addons
  2. Rename examples/filter_component to examples/example_filter
  3. Remove tfx_addons/example_filter/data (including test_data.csv)

Thanks!

@rcrowe-google
Copy link
Contributor

Wait, sorry do not remove tfx_addons/example_filter/data (including test_data.csv). We need it for the tests!

@vulkomilev
Copy link
Contributor Author

vulkomilev commented May 11, 2023 via email

Copy link
Contributor

@rcrowe-google rcrowe-google left a comment

Choose a reason for hiding this comment

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

Please revert this change. The only data which should be included is the CSV file

@vulkomilev
Copy link
Contributor Author

vulkomilev commented May 15, 2023 via email

@vulkomilev
Copy link
Contributor Author

vulkomilev commented May 15, 2023 via email

Copy link
Contributor

@rcrowe-google rcrowe-google left a comment

Choose a reason for hiding this comment

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

Please rename examples/filter_component to examples/example_filter so that it matches the name of the component.

Copy link
Contributor

@rcrowe-google rcrowe-google left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Contributor

@hanneshapke hanneshapke left a comment

Choose a reason for hiding this comment

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

Hi Valko,
I left a few questions and comment on the PR. Feel free to reply in the thread if you have questions.

@vulkomilev
Copy link
Contributor Author

done

from tfx.utils import test_case_utils


def _create_pipeline(
Copy link
Contributor

Choose a reason for hiding this comment

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

Just out of curiosity: Why did you remove the test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I recalled that I have copied the test from another component without giving it much of a thought .

@vulkomilev vulkomilev requested a review from hanneshapke June 29, 2023 16:08
@@ -26,6 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""Filters the data from input data by using the filter function.

Args:
Copy link
Contributor

Choose a reason for hiding this comment

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

move the args + returns into the function doc string, and describe the module in the doc string at the top of the file.

Copy link
Contributor

Choose a reason for hiding this comment

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

Tiny last change

Copy link
Contributor

Choose a reason for hiding this comment

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

Still pending

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think I have fixed it

@@ -0,0 +1,51 @@
label,col1
Copy link
Contributor

@hanneshapke hanneshapke Jun 29, 2023

Choose a reason for hiding this comment

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

Help me understand why? Couldn't you link to the same file?
Sorry, ignore. Got it.

@hanneshapke
Copy link
Contributor

@vulkomilev
Copy link
Contributor Author

done I have fixed it

@hanneshapke
Copy link
Contributor

/lgtm

@hanneshapke hanneshapke merged commit 8a276a7 into tensorflow:main Jul 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ExampleFilter
3 participants