Skip to content

Commit 236f463

Browse files
committed
fix: Ignore a bunch of types
1 parent f8ee9a7 commit 236f463

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

airflow_dbt_python/hooks/fs/git.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ def update_refs(refs):
127127
return new_refs
128128

129129
client.send_pack(
130-
path,
130+
path.encode("utf-8"),
131131
update_refs,
132-
generate_pack_data=repo.generate_pack_data,
132+
generate_pack_data=repo.generate_pack_data, # type: ignore
133133
)
134134

135135
def _download(
@@ -190,7 +190,7 @@ def get_git_client_path(self, url: URL) -> Tuple[GitClients, str, Optional[str]]
190190
host=url.hostname,
191191
port=self.port,
192192
username=url.username or self.username,
193-
vendor=vendor,
193+
vendor=vendor, # type: ignore
194194
)
195195
path = f"{url.netloc.split(':')[1]}/{str(url.path)}"
196196

@@ -210,7 +210,7 @@ def get_git_client_path(self, url: URL) -> Tuple[GitClients, str, Optional[str]]
210210
elif url.authentication.username:
211211
base_url = f"{url.scheme}://{url.authentication.username}@{base_url}"
212212

213-
client = HttpGitClient(base_url, **auth_params)
213+
client = HttpGitClient(base_url, **auth_params) # type: ignore
214214

215215
path = str(url.path)
216216

airflow_dbt_python/operators/dbt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def xcom_push_dbt_results(self, context, dbt_results: DbtTaskResult) -> None:
349349
if AIRFLOW_V_3_1_PLUS:
350350
xcom_push = context["ti"].xcom_push
351351
else:
352-
xcom_push = functools.partial(self.xcom_push, context)
352+
xcom_push = functools.partial(self.xcom_push, context) # type: ignore
353353

354354
xcom_push(key=XCOM_RETURN_KEY, value=serializable_result)
355355
for key, artifact in dbt_results.artifacts.items():

airflow_dbt_python/utils/configs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def create_dbt_task(
368368
and runtime_config
369369
and not DBT_INSTALLED_GTE_1_10_7
370370
):
371-
manifest = parse_manifest(
371+
manifest = parse_manifest( # type: ignore
372372
runtime_config,
373373
write_perf_info=write_perf_info,
374374
write=False,

tests/dags/test_dbt_dags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def _create_dagrun(
8686
triggered_by=DagRunTriggeredByType.TIMETABLE,
8787
)
8888
else:
89-
return parent_dag.create_dagrun(
89+
return parent_dag.create_dagrun( # type: ignore
9090
state=state,
9191
execution_date=logical_date, # type: ignore
9292
data_interval=data_interval,

0 commit comments

Comments
 (0)