From 7b68b2c8cc95b68d8342eb8e7848a36ecfda2b1d Mon Sep 17 00:00:00 2001 From: Volobuev Andrey Date: Fri, 27 Jun 2025 17:51:52 +0300 Subject: [PATCH] fix --- superset_tool/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset_tool/client.py b/superset_tool/client.py index a58f5ad..043d908 100644 --- a/superset_tool/client.py +++ b/superset_tool/client.py @@ -170,7 +170,7 @@ class SupersetClient: method="GET", endpoint=f"/dashboard/{dashboard_id_or_slug}", # headers=self.headers # [REFACTORING_NOTE] APIClient теперь сам добавляет заголовки - ).json() + ) # [POSTCONDITION] Проверка структуры ответа if "result" not in response_data: self.logger.warning("[CONTRACT_VIOLATION] Ответ API не содержит поле 'result'", extra={"response": response_data})