Skip to content

fix generator type import - #14

Merged
PenguinBoi12 merged 1 commit into
mainfrom
fix-model-generator-type-imports
Jul 31, 2026
Merged

fix generator type import#14
PenguinBoi12 merged 1 commit into
mainfrom
fix-model-generator-type-imports

Conversation

@PenguinBoi12

@PenguinBoi12 PenguinBoi12 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

grace generate model X col:String always crashed. The generated field annotation used raw SQLAlchemy type classes (message: String) instead of Python types, which Pydantic can't build a schema for, so any model with a typed column failed with PydanticSchemaGenerationError regardless of database state.

@PenguinBoi12
PenguinBoi12 force-pushed the fix-model-generator-type-imports branch from 1620a50 to a0dd5df Compare July 31, 2026 03:45
@PenguinBoi12
PenguinBoi12 merged commit 809e77b into main Jul 31, 2026
2 checks passed
@PenguinBoi12
PenguinBoi12 deleted the fix-model-generator-type-imports branch July 31, 2026 03:45
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.

1 participant