-
Notifications
You must be signed in to change notification settings - Fork 55
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
Update _data_pipelines.py #319
base: main
Are you sure you want to change the base?
Conversation
Added update data pipeline definition method
src/sempy_labs/_data_pipelines.py
Outdated
|
||
|
||
def update_data_pipeline_definition( | ||
name: str, pipeline_content: str, workspace: Optional[str] = None |
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.
won't the content be in dict format? Check out the _conv_b64 function in sempy_labs._helper_functions.
let's use the parameter' content' instead of 'pipeline_content'.
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.
Sure, I can change it to dict, was using your update notebook definition as a template
def update_notebook_definition( |
LMK
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.
ah but the content/definition for a notebook isn't in json format. it's in .py format.
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.
gotcha, make sense. i'll update tomorrow!
Update pipeline_content to dict
Added new function to data_pipelines
Added update data pipeline definition method