Skip to content

Commit

Permalink
Add type hint to fix mypy errors in lab.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyizheng02 committed Aug 11, 2024
1 parent 684d056 commit 4b7a44f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pittapi/lab.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Lab(NamedTuple):
class LabAPIError(Exception):
"""Raised when an error occurs while accessing the Lab API."""

def __init__(self, message):
def __init__(self, message: str):
super().__init__(message)


Expand Down

0 comments on commit 4b7a44f

Please sign in to comment.