Skip to content

Pydantic Model Issue #153

@charlestang06

Description

@charlestang06

I am on Win11 running the example.py on Python 3.10.11. I installed vrp_cli, and other requirements as well successfully via PyPI. When running example.py, I am running into this error.

python examples/python-interop/example.py

import pragmatic_types as prg
  File "c:\Users\________\examples\python-interop\pragmatic_types.py", line 146, in <module>
    Problem.__pydantic_model__.update_forward_refs()
AttributeError: type object 'Problem' has no attribute '__pydantic_model__'. Did you mean: '__pydantic_config__'?

What could be the issue here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions