-
Notifications
You must be signed in to change notification settings - Fork 70
Feat/pydantic serialization #538
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
Feat/pydantic serialization #538
Conversation
pjbull
left a comment
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.
Looks good, pending tests + linting. Just a simplification for the docs change.
docs/docs/integrations.md
Outdated
|
|
||
| def serialize_as_http(path: S3Path) -> str: | ||
| """Convert S3Path to HTTP URL""" | ||
| return f"https://{path.bucket}.s3.amazonaws.com/{path.key}" |
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.
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.
Oh nice, updated!
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 538-live-tests #538 +/- ##
================================================
- Coverage 94.0% 93.1% -0.9%
================================================
Files 28 28
Lines 2203 2203
================================================
- Hits 2071 2052 -19
- Misses 132 151 +19
🚀 New features to boost your workflow:
|
|
Thanks! Moving to repo-local branch so we can run the live tests. |
Adds support for pydantic serialization as uri.
Closes #537
Contributor checklist:
CONTRIBUTING.mdCloses #issueappears in the PR summary (e.g.,Closes #123).HISTORY.mdwith the issue that is addressed and the PR you are submitting. If the top section is not `## UNRELEASED``, then you need to add a new section to the top of the document for your change.