This commit is contained in:
Waylon Walker 2023-06-09 16:04:58 -05:00
parent 1a0bf1adb9
commit c3db85a209
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4
21 changed files with 647 additions and 658 deletions

View file

@ -18,3 +18,9 @@ def read_heroes(hero: Hero) -> list[Hero]:
def read_heros() -> list[Hero]:
"read all the heros"
return Hero.get()
@app.patch("/heros/")
def update_heros() -> list[Hero]:
"read all the heros"
return Hero.get()