Skip to content

Document Base64Str and Base64Bytes#7192

Merged
adriangb merged 1 commit intomainfrom
document-base64
Aug 23, 2023
Merged

Document Base64Str and Base64Bytes#7192
adriangb merged 1 commit intomainfrom
document-base64

Conversation

@Kludex
Copy link
Copy Markdown
Member

@Kludex Kludex commented Aug 21, 2023

Selected Reviewer: @davidhewitt

@Kludex
Copy link
Copy Markdown
Member Author

Kludex commented Aug 21, 2023

please review

Comment thread pydantic/types.py
Comment on lines +1359 to +1361
"""A bytes type that is encoded and decoded using the base64 encoder."""
Base64Str = Annotated[str, EncodedStr(encoder=Base64Encoder)]
"""A str type that is encoded and decoded using the base64 encoder."""
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer, you are welcome to suggest a better description, if you have it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apply, and automerge as well, please.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: c96f506
Status: ✅  Deploy successful!
Preview URL: https://41618324.pydantic-docs2.pages.dev
Branch Preview URL: https://document-base64.pydantic-docs2.pages.dev

View logs

@adriangb adriangb merged commit 820da6f into main Aug 23, 2023
@adriangb adriangb deleted the document-base64 branch August 23, 2023 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants