Skip to content
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

Move SageMakerEndpointMetadata to agent.py #2310

Merged
merged 5 commits into from
Mar 29, 2024
Merged

Conversation

pingsutw
Copy link
Member

@pingsutw pingsutw commented Mar 29, 2024

Tracking issue

flyteorg/flyte#3936

Why are the changes needed?

agent failed to encode the metadata
image

What changes were proposed in this pull request?

Move SageMakerEndpointMetadata to agent.py and override encode()/decode() method

How was this patch tested?

Remote

Setup process

Screenshots

image

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

NA

Docs link

NA

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Mar 29, 2024
Copy link

codecov bot commented Mar 29, 2024

Codecov Report

Attention: Patch coverage is 88.23529% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 83.48%. Comparing base (6c917ed) to head (61d4097).

Files Patch % Lines
...er/flytekitplugins/awssagemaker_inference/agent.py 84.61% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2310      +/-   ##
==========================================
- Coverage   83.48%   83.48%   -0.01%     
==========================================
  Files         324      324              
  Lines       24717    24723       +6     
  Branches     3517     3517              
==========================================
+ Hits        20634    20639       +5     
- Misses       3450     3452       +2     
+ Partials      633      632       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Kevin Su <pingsutw@gmail.com>
samhita-alla
samhita-alla previously approved these changes Mar 29, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by maintainer label Mar 29, 2024
Signed-off-by: Kevin Su <pingsutw@gmail.com>
@pingsutw pingsutw changed the title [WIP] Move SageMakerEndpointMetadata to agent.py Move SageMakerEndpointMetadata to agent.py Mar 29, 2024
@pingsutw pingsutw merged commit aaee58a into master Mar 29, 2024
48 checks passed
fiedlerNr9 pushed a commit that referenced this pull request Jul 25, 2024
Signed-off-by: Kevin Su <pingsutw@gmail.com>
Signed-off-by: Jan Fiedler <jan@union.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants