-
Notifications
You must be signed in to change notification settings - Fork 788
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
Deprecated Functions #3745
Comments
Thank you for reporting @hanantabak2. |
@hbelmiro @hanantabak2 can you clarify where is the issue? in which page? |
/help |
@varodrig: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This Documentation has some deprecated functions as follows :
1- In the snippet :
def merge_csv(file_path: comp.InputPath('Tarball'), output_csv: comp.OutputPath('CSV')):
It should be :
from kfp.dsl import InputPath, OutputPath
def merge_csv(file_path: InputPath('Tarball'), output_csv: OutputPath('CSV')):
2- Also when I run this snippet :
create_step_merge_csv = kfp.components.create_component_from_func( func=merge_csv, output_component_file='component.yaml', # This is optional. It saves the component spec for future use. base_image='python:3.7', packages_to_install=['pandas==1.1.4'])
I get this error : AttributeError: module 'kfp.components' has no attribute 'create_component_from_func'
The text was updated successfully, but these errors were encountered: