Skip to content

Commit

Permalink
GH mypy fail
Browse files Browse the repository at this point in the history
  • Loading branch information
arcbtc committed Nov 13, 2024
1 parent 3c2af76 commit aca451a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@


async def create_eightball(data: EightBall) -> EightBall:
return await db.insert("eightball.maintable", data)
eightball = await db.insert("eightball.maintable", data)
assert eightball, "Newly created eightball couldn't be retrieved"
return eightball


async def get_eightball(eightball_id: str) -> Optional[EightBall]:
Expand Down

0 comments on commit aca451a

Please sign in to comment.