- Notifications
You must be signed in to change notification settings - Fork39
Open
Description
When generating a pydantic model that includes aBYTEA column in postgres, it has amemoryview attribute that causes this error:
pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for <class 'memoryview'>. Set `arbitrary_types_allowed=True` in the model_config to ignore this error or implement `__get_pydantic_core_schema__` on your type to fully support it.Should it bebytes instead?
Metadata
Metadata
Assignees
Labels
No labels