From 8ca64ea3b0154902745bd92e21b89bc649c76970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matheus=20Ten=C3=B3rio?= Date: Sun, 24 Mar 2024 15:22:59 -0300 Subject: [PATCH] Changed type hint trying to fix errors with github actions --- hotmart_python/hotmart.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hotmart_python/hotmart.py b/hotmart_python/hotmart.py index 49f086c..d0fcafd 100644 --- a/hotmart_python/hotmart.py +++ b/hotmart_python/hotmart.py @@ -149,8 +149,8 @@ def _make_request(self, url: str, headers: Optional[Dict[str, str]] = None, params: Optional[Dict[str, Any]] = None, - body: Optional[Dict[str, str]] = None, - log_level: Optional[int] = None) -> Dict[str, Any] | List[Dict[str, Any]]: + body: Optional[Dict[str, str]] = None, log_level: Optional[int] = None) -> \ + List[Dict[str, Any]]: """ Makes a request to the given url. :param method: The request method (e.g, requests.get, requests.post).