removed many unneeded async definitions. The main controller remains async

This commit is contained in:
Lucas Jensen
2024-05-03 13:21:47 -07:00
parent 032feebe23
commit 5bb28ed923
15 changed files with 144 additions and 147 deletions

View File

@@ -11,7 +11,7 @@ class MusicianQueries(BaseQueries):
super().__init__()
self.table = MUSICIAN_TABLE
async def update_bio(self, musician: Musician, bio: str) -> None:
def update_bio(self, musician: Musician, bio: str) -> None:
"""Updates a musician's biography in the database.
Args:
@@ -26,7 +26,7 @@ class MusicianQueries(BaseQueries):
cursor.close()
db.close()
async def update_headshot(self, musician: Musician, headshot_id: str) -> None:
def update_headshot(self, musician: Musician, headshot_id: str) -> None:
"""Updates a musician's headshot ID in the database.
The image itself is stored with Cloudinary.