mafw.db.reflection
Reflect database schemas into Python model modules.
- author:
Bulgheroni Antonio
- mafw.db.reflection._reflect_database(*, output_file: Path, database: str, engine: str | None, schema: str | None, host: str | None, port: int | None, user: str | None, password: str | None, tables: tuple[str, ...] | None, preserve_order: bool, include_views: bool, ignore_unknown: bool, snake_case: bool) None[source]
Inspect a database and write its model definitions to
output_file.