From 578feeec8a49d09bb56400a99f02875ff376d838 Mon Sep 17 00:00:00 2001 From: AstrakhantsevaAA Date: Mon, 16 Oct 2023 18:37:38 +0200 Subject: [PATCH] lint + black --- dlt/helpers/dbt_cloud/client.py | 8 ++++---- dlt/helpers/dbt_cloud/configuration.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dlt/helpers/dbt_cloud/client.py b/dlt/helpers/dbt_cloud/client.py index a1c6a8becc..add417e51b 100644 --- a/dlt/helpers/dbt_cloud/client.py +++ b/dlt/helpers/dbt_cloud/client.py @@ -47,9 +47,7 @@ def get_endpoint(self, endpoint: str) -> Any: results = response.json() return results - def post_endpoint( - self, endpoint: str, json_body: Optional[dict] = None - ) -> Any: + def post_endpoint(self, endpoint: str, json_body: Optional[Dict] = None) -> Any: response = requests.post( f"{self.base_api_url}/{endpoint}", headers=self._headers, @@ -58,7 +56,9 @@ def post_endpoint( results = response.json() return results - def trigger_job_run(self, job_id: Union[int, str], data: Optional[dict] = None) -> int: + def trigger_job_run( + self, job_id: Union[int, str], data: Optional[Dict] = None + ) -> int: """ Trigger a job run in dbt Cloud. diff --git a/dlt/helpers/dbt_cloud/configuration.py b/dlt/helpers/dbt_cloud/configuration.py index f7ae084e27..aac94b2f4a 100644 --- a/dlt/helpers/dbt_cloud/configuration.py +++ b/dlt/helpers/dbt_cloud/configuration.py @@ -18,4 +18,4 @@ class DBTCloudConfiguration(BaseConfiguration): cause: str = "Triggered via API" git_sha: Optional[str] git_branch: Optional[str] - schema_override: Optional[str] \ No newline at end of file + schema_override: Optional[str]