Skip to content

Conversation

@sydney-runkle
Copy link
Contributor

@sydney-runkle sydney-runkle commented Jan 15, 2025

This improves perf significantly in pydantic, so we no longer have a use for this in pydantic-core.

cc @davidhewitt, before I continue:

  • Can we remove the self schema gen
  • Can I comb through tests using this function and either remove them or modify the schema errors?

@sydney-runkle
Copy link
Contributor Author

Decided we don't need this in pydantic-core until we've decided skipping this step is stable.

@TyronMYoung11
Copy link

I dont know is related or not, but facing this error:

  File "\.venv\Lib\site-packages\pydantic\_internal\_core_utils.py", line 9, in <module>
    from pydantic_core import validate_core_schema as _validate_core_schema
ImportError: cannot import name 'validate_core_schema' from 'pydantic_core' (\.venv\Lib\site-packages\pydantic_core\__init__.py)

pydantic 2.11.7
pydantic_core 2.37.2

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.

3 participants