Skip to content

Commit

Permalink
Update type hint for id parameter in NotFoundException constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
movchan74 committed Feb 13, 2024
1 parent 0b58af5 commit 757a661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aana/exceptions/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(self, table_name: str, id: int | MediaId): # noqa: A002
Args:
table_name (str): the name of the table being queried.
id (MediaId): the id of the item to be retrieved.
id (int | MediaId): the id of the item to be retrieved.
"""
super().__init__(table=table_name, id=id)
self.table_name = table_name
Expand Down

0 comments on commit 757a661

Please sign in to comment.