Skip to content

Commit

Permalink
fixup type error
Browse files Browse the repository at this point in the history
  • Loading branch information
wseaton committed Nov 21, 2023
1 parent 9ef16f9 commit 472287b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cosmos/airflow/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def generate_task_or_group(
test_behavior: TestBehavior,
test_indirect_selection: TestIndirectSelection,
on_warning_callback: Callable[..., Any] | None,
node_config: dict[str, Any],
node_config: dict[str, Any] | None = None,
**kwargs: Any,
) -> BaseOperator | TaskGroup | None:
task_or_group: BaseOperator | TaskGroup | None = None
Expand Down
2 changes: 1 addition & 1 deletion cosmos/core/airflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


def get_airflow_task(
task: Task, dag: DAG, task_group: "TaskGroup | None" = None, extra_context: dict[str, Any] = {}
task: Task, dag: DAG, task_group: "TaskGroup | None" = None, extra_context: dict[str, Any] | None = None
) -> BaseOperator:
"""
Get the Airflow Operator class for a Task.
Expand Down

0 comments on commit 472287b

Please sign in to comment.