From 978e2f563e1cf4fe6ded4f58bab84f5cc0560ef9 Mon Sep 17 00:00:00 2001 From: Adrian Maraj Date: Wed, 19 Jun 2024 12:15:56 +0200 Subject: [PATCH] adding missing type parameter --- pylookyloo/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylookyloo/api.py b/pylookyloo/api.py index 6372ee1..6ef972a 100644 --- a/pylookyloo/api.py +++ b/pylookyloo/api.py @@ -494,7 +494,7 @@ def send_mail(self, tree_uuid: str, email: str = '', comment: str | None = None) r = self.session.post(urljoin(self.root_url, str(PurePosixPath('json', tree_uuid, 'report'))), json=to_send) return r.json() - def get_recent_captures(self, timestamp:str) -> list: + def get_recent_captures(self, timestamp:str) -> list[str]: '''Gets the uuids of the most recent captures :param timestamp: Timestamp of the capture