From 38279865930e831ed3311822140e05e134e251b7 Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Fri, 14 Oct 2022 14:39:57 -0400 Subject: [PATCH] comment --- README.md | 4 ++++ controllers/album.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dcd5c83..5df2595 100644 --- a/README.md +++ b/README.md @@ -10,5 +10,9 @@ pip install -r requirements.txt python -m uvicorn app:app --reload ``` +Note: First time touching FastAPI in this manner, so organization +is not great. Any questions of "WTF?? Why did you do it this way?" - because it ended up that way, +I have not worked on a project of this scope so moving _LEGO_ bits around just worked. + Paired with https://gitea.tyrel.dev/tyrel/go-webservice-gin \ No newline at end of file diff --git a/controllers/album.py b/controllers/album.py index ab17496..923ec81 100644 --- a/controllers/album.py +++ b/controllers/album.py @@ -44,7 +44,7 @@ def get_album(album_id: int, session: Session = Depends(get_db)): raise HTTPException(**ex.__dict__) -# API to update a existing album info +# API to update an existing album info @router.put("/albums/{album_id}", response_model=models.schemas.Album) def update_album(album_id: int, new_info: models.schemas.AlbumBase, session: Session = Depends(get_db)): try: