Skip to content

Commit

Permalink
lint + black
Browse files Browse the repository at this point in the history
  • Loading branch information
AstrakhantsevaAA committed Oct 16, 2023
1 parent c243084 commit 578feee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions dlt/helpers/dbt_cloud/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion dlt/helpers/dbt_cloud/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ class DBTCloudConfiguration(BaseConfiguration):
cause: str = "Triggered via API"
git_sha: Optional[str]
git_branch: Optional[str]
schema_override: Optional[str]
schema_override: Optional[str]

0 comments on commit 578feee

Please sign in to comment.