From 4b7a44f5cc41410ef8c2f2a77ab4c4584171800a Mon Sep 17 00:00:00 2001 From: Tianyi Zheng Date: Sun, 11 Aug 2024 15:22:44 -0700 Subject: [PATCH] Add type hint to fix mypy errors in lab.py --- pittapi/lab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pittapi/lab.py b/pittapi/lab.py index d301a2a..f146620 100644 --- a/pittapi/lab.py +++ b/pittapi/lab.py @@ -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)