(self, camel: bool = False)
| 6 | |
| 7 | class Entity(DeclarativeBase): |
| 8 | def to_dict(self, camel: bool = False) -> dict[str, Any]: |
| 9 | return {to_camel(col.name) if camel else col.name: getattr(self, col.name) for col in self.__table__.columns} |
no outgoing calls
no test coverage detected