Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajastro committed Feb 6, 2024
1 parent a702bd3 commit 8f50626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astronomer/providers/core/hooks/astro.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def get_dag_runs(self, external_dag_id: str) -> list[dict[str, str]]:
url = f"{base_url}{path}"
response = requests.get(url, headers=self._headers, params=params)
response.raise_for_status()
data: dict[str, list] = response.json()
data: dict[str, list[dict[str, str]]] = response.json()
return data["dag_runs"]

def get_dag_run(self, external_dag_id: str, dag_run_id: str) -> dict[str, Any] | None:
Expand Down

0 comments on commit 8f50626

Please sign in to comment.