wip
This commit is contained in:
parent
c238b9d757
commit
fcc0698aeb
12 changed files with 95 additions and 97 deletions
|
|
@ -17,7 +17,7 @@ def hero():
|
|||
@hero_app.command()
|
||||
def get(id: int = None) -> Union[Hero, List[Hero]]:
|
||||
"get one hero"
|
||||
hero = Hero.get(item_id=id)
|
||||
hero = Hero().get(item_id=id)
|
||||
Console().print(hero)
|
||||
return hero
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue