endpoint setup

This commit is contained in:
exolonConfidental
2026-02-08 11:18:47 +05:30
parent 8fb3b7cf67
commit a77788fc47
33 changed files with 932 additions and 352 deletions

View File

@@ -0,0 +1,8 @@
class OwnerRepository:
@staticmethod
async def update(session, owner, data: dict):
for key, value in data.items():
setattr(owner, key, value)
await session.flush()
return owner