Skip to content

Add support for pymongo bson ObjectId #290

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

Merged
merged 3 commits into from
Jan 30, 2025

Conversation

Ale-Cas
Copy link
Contributor

@Ale-Cas Ale-Cas commented Jan 29, 2025

Reference issue: #133

Moved from: #151

Copy link
Collaborator

@yezz123 yezz123 left a comment

Choose a reason for hiding this comment

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

LGTM 🚀 One thing is missing is adding test here https://github.com/pydantic/pydantic-extra-types/blob/main/tests/test_json_schema.py

and we are ready to merge

@yezz123 yezz123 changed the title Add support for pymongo bson ObjectId (#133) Add support for pymongo bson ObjectId Jan 29, 2025
@yezz123 yezz123 linked an issue Jan 29, 2025 that may be closed by this pull request
13 tasks
@Ale-Cas
Copy link
Contributor Author

Ale-Cas commented Jan 29, 2025

LGTM 🚀 One thing is missing is adding test here https://github.com/pydantic/pydantic-extra-types/blob/main/tests/test_json_schema.py

and we are ready to merge

I will add the test for the json schema tomorrow and the pragma: no cover on ModuleNotFoundError so that the coverage is preserved, thanks for reviewing already 💯

@Ale-Cas
Copy link
Contributor Author

Ale-Cas commented Jan 30, 2025

Hi @yezz123, just added some more testing, I think it's ready to merge now.

@yezz123 yezz123 merged commit d8272c4 into pydantic:main Jan 30, 2025
10 checks passed
@Ale-Cas Ale-Cas deleted the add-pymongo-objectid branch February 2, 2025 12:01
@sangsami
Copy link

Hello @yezz123, any timeline when a release from this would be made? Would love to start using this in my projects. Thanks!

@yezz123
Copy link
Collaborator

yezz123 commented Feb 19, 2025

Hello @yezz123, any timeline when a release from this would be made? Would love to start using this in my projects. Thanks!

Hello @sangsami yes sure will try to release it soon probably this week or next week

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.

Support for MongoDB ObjectID in Pydantic Models
3 participants