Skip to content

Conversation

@xnuinside
Copy link
Owner

  • Add convert_models() support for Pydal table definitions
  • Handle Pydal-specific types: id (primary key), string, text, integer, boolean, datetime, date, float, decimal
  • Convert 'reference table_name' to ForeignKey
  • Strip quotes from py_models_parser output
  • Preserve table names without pluralization (Pydal names are table names)
  • Support both sqlalchemy and sqlalchemy_v2 output formats
  • Add functional and integration tests

- Add convert_models() support for Pydal table definitions
- Support conversion to all model types: SQLAlchemy, SQLAlchemy v2,
  Gino, Pydantic, Pydantic v2, Dataclass, SQLModel
- Handle Pydal-specific types: id (primary key), string, text, integer,
  boolean, datetime, date, float, decimal
- Convert 'reference table_name' to ForeignKey
- Strip quotes from py_models_parser output
- Preserve table names without pluralization (Pydal names are table names)
- Add functional tests for all model types
- Add integration tests for SQLAlchemy, Pydantic, and Dataclass
@xnuinside xnuinside merged commit 01a8391 into main Jan 18, 2026
11 checks passed
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.

2 participants