-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
SDK - Components - Creating graph components from python pipeline function #2273
SDK - Components - Creating graph components from python pipeline function #2273
Commits on Sep 28, 2019
-
SDK/Components - Creating graph components from python pipeline function
`create_graph_component_from_pipeline_func` converts python pipeline function to a graph component object that can be saved, shared, composed or submitted for execution. Example: producer_op = load_component(component_with_0_inputs_and_2_outputs) processor_op = load_component(component_with_2_inputs_and_2_outputs) def pipeline1(pipeline_param_1: int): producer_task = producer_op() processor_task = processor_op(pipeline_param_1, producer_task.outputs['Output 2']) return OrderedDict([ ('Pipeline output 1', producer_task.outputs['Output 1']), ('Pipeline output 2', processor_task.outputs['Output 2']), ]) graph_component = create_graph_component_from_pipeline_func(pipeline1)
Configuration menu - View commit details
-
Copy full SHA for 7855d02 - Browse repository at this point
Copy the full SHA 7855d02View commit details
Commits on Sep 29, 2019
-
Changed the signatures of exported functions
Non-public create_graph_component_spec_from_pipeline_func creates ComponentSpec Public create_graph_component_from_pipeline_func creates component and writes it to file.
Configuration menu - View commit details
-
Copy full SHA for a9b120f - Browse repository at this point
Copy the full SHA a9b120fView commit details -
Switched to using _extract_component_interface to analyze function si…
…gnature Stopped humanizing the input names for now. I think it's benefitial to extract interface from function signature the same way for both container and graph python components.
Configuration menu - View commit details
-
Copy full SHA for 2003ddf - Browse repository at this point
Copy the full SHA 2003ddfView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc92137 - Browse repository at this point
Copy the full SHA dc92137View commit details -
Configuration menu - View commit details
-
Copy full SHA for c034dc2 - Browse repository at this point
Copy the full SHA c034dc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10a0f85 - Browse repository at this point
Copy the full SHA 10a0f85View commit details
Commits on Oct 1, 2019
-
By default, do not include task component specs in the graph component
Remove the component spec from component reference unless it will make the reference empty or unless explicitly asked by the user
Configuration menu - View commit details
-
Copy full SHA for 0becc25 - Browse repository at this point
Copy the full SHA 0becc25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 128cb0d - Browse repository at this point
Copy the full SHA 128cb0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e410b4d - Browse repository at this point
Copy the full SHA e410b4dView commit details
Commits on Oct 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1e59cfc - Browse repository at this point
Copy the full SHA 1e59cfcView commit details