wip
This commit is contained in:
parent
1a0bf1adb9
commit
c3db85a209
21 changed files with 647 additions and 658 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue