Replies: 3 comments 2 replies
-
More detail, collected with
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
To clarify this pydantic_core is written in rust, but uses the C-api to communicate/register itβs module. I will get module loading working in #5604 at some point, but itβs likely not going to be complete enough for pydantic_core to be used (atleast for a bit). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Importing
pydantic
seems to be problematic, possibly becausepydantic_core
is a native module:_pydantic_core.cpython-312-darwin.so
. What approach is suggested for these scenarios? Must one manually use the vm.add_native_module()
API for these? I was expecting the rustpython loader to handle these transparently, but this does not appear to be the case?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions