Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions cosmos/operators/_watcher/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import json
import logging
from datetime import timedelta
from pathlib import Path
from typing import Any

Expand Down Expand Up @@ -288,8 +287,6 @@ def __init__(
profiles_dir: str | None = None,
producer_task_id: str = PRODUCER_WATCHER_TASK_ID,
poke_interval: int = 10,
timeout: int = 60 * 60, # 1 h safety valve
execution_timeout: timedelta = timedelta(hours=1),
deferrable: bool = True,
**kwargs: Any,
) -> None:
Expand All @@ -303,8 +300,6 @@ def __init__(
extra_context = kwargs.pop("extra_context") if "extra_context" in kwargs else {}
super().__init__(
poke_interval=poke_interval,
timeout=timeout,
execution_timeout=execution_timeout,
profile_config=profile_config,
project_dir=project_dir,
profiles_dir=profiles_dir,
Expand Down
5 changes: 0 additions & 5 deletions cosmos/operators/watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import json
import zlib
from collections.abc import Callable, Sequence
from datetime import timedelta
from typing import TYPE_CHECKING, Any

from airflow.exceptions import AirflowException
Expand Down Expand Up @@ -254,15 +253,11 @@ def __init__(
profiles_dir: str | None = None,
producer_task_id: str = PRODUCER_WATCHER_TASK_ID,
poke_interval: int = 10,
timeout: int = 60 * 60, # 1 h safety valve
execution_timeout: timedelta = timedelta(hours=1),
deferrable: bool = True,
**kwargs: Any,
Comment thread
tatiana marked this conversation as resolved.
) -> None:
super().__init__(
poke_interval=poke_interval,
timeout=timeout,
execution_timeout=execution_timeout,
profile_config=profile_config,
project_dir=project_dir,
profiles_dir=profiles_dir,
Expand Down
Loading