Skip to content

Commit 1e92e5a

Browse files
committed
Fix mypy
1 parent d45e8e9 commit 1e92e5a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

airflow-core/src/airflow/config_templates/airflow_local_settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@
190190
"base_log_folder": BASE_LOG_FOLDER,
191191
"remote_base": remote_base_log_folder,
192192
"delete_local_copy": delete_local_copy,
193-
194193
"gcp_key_path": key_path,
195194
}
196195
| remote_task_handler_kwargs

providers/google/src/airflow/providers/google/cloud/log/gcs_task_handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
logger = logging.getLogger(__name__)
5757

5858

59-
@attrs.define(kw_only=True)
59+
@attrs.define
6060
class GCSRemoteLogIO(LoggingMixin): # noqa: D101
6161
remote_base: str
6262
base_log_folder: Path = attrs.field(converter=Path)
@@ -69,7 +69,7 @@ class GCSRemoteLogIO(LoggingMixin): # noqa: D101
6969

7070
processors = ()
7171

72-
def upload(self, path: os.PathLike, ti: RuntimeTI):
72+
def upload(self, path: os.PathLike | str, ti: RuntimeTI):
7373
"""Upload the given log path to the remote storage."""
7474
path = Path(path)
7575
if path.is_absolute():

0 commit comments

Comments
 (0)