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

Fix pydantic import #412

Merged
merged 7 commits into from
Jan 14, 2025
Merged

Fix pydantic import #412

merged 7 commits into from
Jan 14, 2025

Conversation

MortGron
Copy link
Contributor

Description

Fix #411

Checklist:

  • Tests added/updated.
  • Documentation updated.
  • Changelog updated in CHANGELOG.md.
  • Version bumped. If triggering a new release is desired (?), bump the version number by running python dev.py bump --patch (replace --patch with --minor or --major per semantic versioning).
  • Regenerate example SDKs export PYTHONPATH=. && python dev.py generate. Need to be run both
    for pydantic v1 and v2 environments.

Copy link

github-actions bot commented Jan 12, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
4778 3413 71% 60% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
cognite/pygen/_core/models/data_classes.py 90% 🟢
TOTAL 90% 🟢

updated for commit: da5f28b by action🐍

@doctrino doctrino self-requested a review January 14, 2025 06:58
@MortGron MortGron merged commit b64b032 into main Jan 14, 2025
8 checks passed
@MortGron MortGron deleted the fix-pydantic-import branch January 14, 2025 07:19
@MortGron MortGron mentioned this pull request Jan 16, 2025
5 tasks
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.

File has from pydantic import Field, but variable type hints in the same file has pydantic.Field
2 participants