GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — fix(PipelineJob): use name as output only field by ji-yaqi · Pull Request #719 · googleapis/python-aiplatform Conversation
|
|
|
||
| pipeline_name = pipeline_job["pipelineSpec"]["pipelineInfo"]["name"] | ||
| job_id = job_id or "{pipeline_name}-{timestamp}".format( | ||
| self.job_id = job_id or "{pipeline_name}-{timestamp}".format( |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I know this is existing code, but why isn't there a way to get the job_id directly from the service instead of deriving it in the client SDK.
This seems like it could break if the service changes how job ID's are generated.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I think job_id was provided by the user, or generated by the system and only used during run command but not the instance generation process. That's why we need to store it somewhere, since it wasn't used during the instance creation.
Name shouldn't be passed in since it was an output-only field and was wrongly passed in previously. Although the services generated the name using the same way.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/retest |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.