You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We tested sagemaker.lambda_helper.Lambda with zipped_code_dir parameter and (and also with script parameter, but not together) using the parameter function_arn to identify the lambda function (as we created it outside of python code). We are using the Pipeline object from sagemaker but the function doesn't update the code when we upsert the pipeline code to sagemaker.
Describe the bug
We tested
sagemaker.lambda_helper.Lambda
with zipped_code_dir parameter and (and also with script parameter, but not together) using the parameter function_arn to identify the lambda function (as we created it outside of python code). We are using the Pipeline object from sagemaker but the function doesn't update the code when we upsert the pipeline code to sagemaker.A workaround is to use the update() function. If this is an expected behavior and you need to use the update() function when using the parameter function_arn, it should be written in the documentation here: https://sagemaker.readthedocs.io/en/stable/api/utility/lambda_helper.html
To reproduce
The work around:
Expected behavior
The function will update the code when using upsert of the Pipeline object.
System information
A description of your system. Please provide:
The text was updated successfully, but these errors were encountered: