Skip to content

add bytearray to TypeAdapter.validate_json signature - #10802

Merged
sydney-runkle merged 1 commit into
mainfrom
typeadapter-json-bytearray
Nov 9, 2024
Merged

sydney-runkle merged 1 commit into
mainfrom
typeadapter-json-bytearray

Conversation

@samuelcolvin

Copy link
Copy Markdown
Member

This matches the signature of validate_json on SchemaValidator.

@github-actions github-actions Bot added the relnotes-fix Used for bugfixes. label Nov 9, 2024
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying pydantic-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 805f40e
Status: ✅  Deploy successful!
Preview URL: https://3f05086f.pydantic-docs.pages.dev
Branch Preview URL: https://typeadapter-json-bytearray.pydantic-docs.pages.dev

View logs

@codspeed

codspeed Bot commented Nov 9, 2024

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #10802 will not alter performance

Comparing typeadapter-json-bytearray (805f40e) with main (91c1389)

Summary

✅ 44 untouched benchmarks

@github-actions

github-actions Bot commented Nov 9, 2024

Copy link
Copy Markdown
Contributor

Coverage report

This PR does not seem to contain any modification to coverable code.

@sydney-runkle sydney-runkle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @samuelcolvin!

Nice, also matches from_json.

@sydney-runkle
sydney-runkle merged commit c7a3d5c into main Nov 9, 2024
@sydney-runkle
sydney-runkle deleted the typeadapter-json-bytearray branch November 9, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

relnotes-fix Used for bugfixes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants