first working version

This commit is contained in:
marys
2025-05-27 12:10:20 +02:00
parent a3b80eab6e
commit 61cbc536b6
9 changed files with 180 additions and 0 deletions

5
models/models_helpers.py Normal file
View File

@@ -0,0 +1,5 @@
class DeclarativeBaseToDict:
def as_dict(self) -> dict:
return {i: self.__dict__[i] for i in self.__dict__ if i[0] != '_'}