From f0ece3b9a2081ebc631ce97a3d310bd899651b0f Mon Sep 17 00:00:00 2001 From: Martin Kersner Date: Tue, 14 May 2024 12:06:33 +0900 Subject: [PATCH] Accept `base_url` in Naver, Google and Defillama (#12) --- datamaxi/defillama/__init__.py | 2 +- datamaxi/google/__init__.py | 2 +- datamaxi/naver/__init__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/datamaxi/defillama/__init__.py b/datamaxi/defillama/__init__.py index 7043cde..d12c8c4 100644 --- a/datamaxi/defillama/__init__.py +++ b/datamaxi/defillama/__init__.py @@ -22,7 +22,7 @@ def __init__(self, api_key=None, **kwargs: Any): """ if "base_url" not in kwargs: kwargs["base_url"] = BASE_URL - super().__init__(api_key, **kwargs) + super().__init__(api_key, **kwargs) def protocols(self) -> List[str]: """Get supported protocols diff --git a/datamaxi/google/__init__.py b/datamaxi/google/__init__.py index 7efecc8..c9c3426 100644 --- a/datamaxi/google/__init__.py +++ b/datamaxi/google/__init__.py @@ -18,7 +18,7 @@ def __init__(self, api_key=None, **kwargs: Any): """ if "base_url" not in kwargs: kwargs["base_url"] = BASE_URL - super().__init__(api_key, **kwargs) + super().__init__(api_key, **kwargs) def keywords(self) -> List[str]: """Get Google trend supported keywords diff --git a/datamaxi/naver/__init__.py b/datamaxi/naver/__init__.py index 46170b4..565466f 100644 --- a/datamaxi/naver/__init__.py +++ b/datamaxi/naver/__init__.py @@ -18,7 +18,7 @@ def __init__(self, api_key=None, **kwargs: Any): """ if "base_url" not in kwargs: kwargs["base_url"] = BASE_URL - super().__init__(api_key, **kwargs) + super().__init__(api_key, **kwargs) def keywords(self) -> List[str]: """Get Naver trend supported keywords