-
Notifications
You must be signed in to change notification settings - Fork 63
lint fixed #240
lint fixed #240
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Thanks for the PR! 🚀 Instructions: Approve using |
@vulkomilev Thank you for the new PR! |
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.
Getting close! Could you:
- Remove
examples/filter_component/tfx-addons
- Rename
examples/filter_component
toexamples/example_filter
- Remove
tfx_addons/example_filter/data
(includingtest_data.csv
)
Thanks!
Wait, sorry do not remove |
okay
На чт, 11.05.2023 г. в 19:28 ч. Robert Crowe ***@***.***>
написа:
… Wait, sorry *do not remove tfx_addons/example_filter/data (including
test_data.csv)*. We need it for the tests!
—
Reply to this email directly, view it on GitHub
<#240 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATA3WEK3JF7QBNXEN5CX6G3XFUHSRANCNFSM6AAAAAAXLK4QBQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
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.
Please revert this change. The only data which should be included is the CSV file
okaay
На пн, 15.05.2023 г. в 20:47 ч. Robert Crowe ***@***.***>
написа:
… ***@***.**** commented on this pull request.
Please revert this change. The only data which should be included is the
CSV file
—
Reply to this email directly, view it on GitHub
<#240 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATA3WEJJOOBRVK564ASCCLTXGJT3FANCNFSM6AAAAAAXLK4QBQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
done
На пн, 15.05.2023 г. в 20:47 ч. Valko Milev <
***@***.***> написа:
… okaay
На пн, 15.05.2023 г. в 20:47 ч. Robert Crowe ***@***.***>
написа:
> ***@***.**** commented on this pull request.
>
> Please revert this change. The only data which should be included is the
> CSV file
>
> —
> Reply to this email directly, view it on GitHub
> <#240 (review)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ATA3WEJJOOBRVK564ASCCLTXGJT3FANCNFSM6AAAAAAXLK4QBQ>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
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.
Please rename examples/filter_component
to examples/example_filter
so that it matches the name of the component.
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.
Thanks!
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.
Hi Valko,
I left a few questions and comment on the PR. Feel free to reply in the thread if you have questions.
done |
from tfx.utils import test_case_utils | ||
|
||
|
||
def _create_pipeline( |
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.
Just out of curiosity: Why did you remove the test?
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.
I recalled that I have copied the test from another component without giving it much of a thought .
@@ -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: |
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.
move the args + returns into the function doc string, and describe the module in the doc string at the top of the file.
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.
Tiny last change
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.
Still pending
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.
I think I have fixed it
@@ -0,0 +1,51 @@ | |||
label,col1 |
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.
Help me understand why? Couldn't you link to the same file?
Sorry, ignore. Got it.
@vulkomilev Heads up. The linter is failing. Check out https://github.com/tensorflow/tfx-addons/actions/runs/5432854616/jobs/9880173830?pr=240 |
done I have fixed it |
/lgtm |
Fixes #16