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

Feat/serialize import string #5841

Merged

Conversation

ybressler
Copy link
Contributor

@ybressler ybressler commented May 24, 2023

Change Summary

Add default serialization to ImportString + add tests for coverage. (Need more edge cases, but for now, is good enough.)

Related issue number

fix #4958

Checklist

  • Unit tests for the changes exist
  • Tests pass on CI and coverage remains at 100%
  • Documentation reflects the changes where applicable
  • changes/<pull request or issue id>-<github username>.md file added describing change
    (see changes/README.md for details)
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Copy link
Member

@samuelcolvin samuelcolvin left a comment

Choose a reason for hiding this comment

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

also windows tests are failing, I'll try to fix this not to include it in V2.

pydantic/types.py Outdated Show resolved Hide resolved
@samuelcolvin samuelcolvin changed the title Feat/serialize import string #4958 Feat/serialize import string May 28, 2023
@samuelcolvin samuelcolvin marked this pull request as ready for review May 28, 2023 12:33
@samuelcolvin samuelcolvin enabled auto-merge (squash) May 28, 2023 13:12
@samuelcolvin samuelcolvin merged commit e2c2121 into pydantic:main May 28, 2023
49 checks passed
@ybressler ybressler deleted the feat/serialize_import_string_#4958 branch May 29, 2023 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Serialization of ImportString does not have default behavior
2 participants