-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feature: handle use case where endpoint is created outside of python … #3867
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
Conversation
…sdk with failure path as None
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
@@ -87,8 +87,31 @@ def get_result( | |||
return self._result | |||
|
|||
def _get_result_from_s3(self, output_path, failure_path): | |||
"""Retrieve output based on the presense of failure_path""" |
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.
Lgtm - synced with Praneeth offline as well; we'll track a backlog item to go back to SageMaker Python SDK again and add Integ tests for edge case where customers created Async endpoint without failure path and loaded in Python SDK for invocation usage.
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.
/bot run notebook-tests
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Codecov Report
@@ Coverage Diff @@
## master #3867 +/- ##
==========================================
- Coverage 89.96% 89.24% -0.72%
==========================================
Files 1140 267 -873
Lines 105616 26127 -79489
==========================================
- Hits 95021 23318 -71703
+ Misses 10595 2809 -7786
|
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
feature: handle use case where endpoint is created outside of python sdk with failure path as None
Issue #, if available:
Description of changes: Updating the predictor (async predictor) to handle the endpoints that are created outside of python sdk (say console) with failure path as None
Testing done: Manual & Unit Tests
Merge Checklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.General
Tests
unique_name_from_base
to create resource names in integ tests (if appropriate)By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.