You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2024/02/13 00:57:56 UTC
(airflow) 43/44: Fix static checks
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-8-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 5e3eba58cba75a0fce79624516e4175749e60af1
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Tue Feb 13 01:38:30 2024 +0100
Fix static checks
---
airflow/providers/databricks/hooks/databricks_sql.py | 2 +-
airflow/providers/exasol/hooks/exasol.py | 2 +-
airflow/providers/snowflake/hooks/snowflake.py | 2 +-
airflow/www/static/js/types/api-generated.ts | 1 +
4 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/airflow/providers/databricks/hooks/databricks_sql.py b/airflow/providers/databricks/hooks/databricks_sql.py
index 80771c1aab..973991dbf2 100644
--- a/airflow/providers/databricks/hooks/databricks_sql.py
+++ b/airflow/providers/databricks/hooks/databricks_sql.py
@@ -146,7 +146,7 @@ class DatabricksSqlHook(BaseDatabricksHook, DbApiHook):
return self._sql_conn
@overload # type: ignore[override]
- def run(
+ def run( # type: ignore[overload-overlap]
self,
sql: str | Iterable[str],
autocommit: bool = ...,
diff --git a/airflow/providers/exasol/hooks/exasol.py b/airflow/providers/exasol/hooks/exasol.py
index ccb1c2e0a4..2e224fe5f3 100644
--- a/airflow/providers/exasol/hooks/exasol.py
+++ b/airflow/providers/exasol/hooks/exasol.py
@@ -163,7 +163,7 @@ class ExasolHook(DbApiHook):
return cols
@overload # type: ignore[override]
- def run(
+ def run( # type: ignore[overload-overlap]
self,
sql: str | Iterable[str],
autocommit: bool = ...,
diff --git a/airflow/providers/snowflake/hooks/snowflake.py b/airflow/providers/snowflake/hooks/snowflake.py
index 80aeea9646..94b2a156b2 100644
--- a/airflow/providers/snowflake/hooks/snowflake.py
+++ b/airflow/providers/snowflake/hooks/snowflake.py
@@ -301,7 +301,7 @@ class SnowflakeHook(DbApiHook):
return getattr(conn, "autocommit_mode", False)
@overload # type: ignore[override]
- def run(
+ def run( # type: ignore[overload-overlap]
self,
sql: str | Iterable[str],
autocommit: bool = ...,
diff --git a/airflow/www/static/js/types/api-generated.ts b/airflow/www/static/js/types/api-generated.ts
index 55ade6179d..57d963305b 100644
--- a/airflow/www/static/js/types/api-generated.ts
+++ b/airflow/www/static/js/types/api-generated.ts
@@ -1370,6 +1370,7 @@ export interface components {
priority_weight?: number | null;
/** @description *Changed in version 2.1.1*: Field becomes nullable. */
operator?: string | null;
+ /** @description The datetime that the task enter the state QUEUE, also known as queue_at */
queued_when?: string | null;
pid?: number | null;
executor_config?: string;