You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generate Pydantic models with appwrite types -l python #2073
Goal: Let appwrite types -l python (and auto in a Python project) emit a single appwrite_types.py of Pydantic models and (str, Enum) types so the Python SDK can take model_type on row reads. Fixes appwrite/sdk-for-cli#188.
templates/cli/internal/typegen/python.go (new): Python emitter — one module of pydantic.BaseModel subclasses, aliases for non-identifiers, Union[Related, str] for relationships, Black-clean layout.
Tests and CI: golden files under templates/cli/internal/typegen/testdata/python.*, command/detection tests, and a validation.yml step that runs Black, mypy --strict, and import on the goldens.
Activity