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
2 changes: 1 addition & 1 deletion generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"aiobotocore>=2.13.0",
"aws_xray_sdk>=2.12.0",
"moto[cloudformation,glue]>=5.0.0",
"mypy-boto3-appflow>=1.35.39",
"mypy-boto3-appflow>=1.37.0",
"mypy-boto3-rds>=1.34.90",
"mypy-boto3-redshift-data>=1.34.0",
"mypy-boto3-s3>=1.34.90",
Expand Down
2 changes: 1 addition & 1 deletion providers/amazon/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ dev = [
"aiobotocore>=2.13.0",
"aws_xray_sdk>=2.12.0",
"moto[cloudformation,glue]>=5.0.0",
"mypy-boto3-appflow>=1.35.39",
"mypy-boto3-appflow>=1.37.0",
"mypy-boto3-rds>=1.34.90",
"mypy-boto3-redshift-data>=1.34.0",
"mypy-boto3-s3>=1.34.90",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,7 @@
# under the License.
from __future__ import annotations

from collections.abc import Sequence
from typing import TYPE_CHECKING, cast

from mypy_boto3_appflow.type_defs import (
DestinationFlowConfigTypeDef,
SourceFlowConfigTypeDef,
TaskTypeDef,
TriggerConfigTypeDef,
)
from typing import TYPE_CHECKING

from airflow.providers.amazon.aws.hooks.base_aws import AwsGenericHook
from airflow.providers.amazon.aws.utils.waiter_with_logging import wait
Expand Down Expand Up @@ -125,11 +117,9 @@ def update_flow_filter(self, flow_name: str, filter_tasks, set_trigger_ondemand:

self.conn.update_flow(
flowName=response["flowName"],
destinationFlowConfigList=cast(
Sequence[DestinationFlowConfigTypeDef], response["destinationFlowConfigList"]
),
sourceFlowConfig=cast(SourceFlowConfigTypeDef, response["sourceFlowConfig"]),
triggerConfig=cast(TriggerConfigTypeDef, response["triggerConfig"]),
destinationFlowConfigList=response["destinationFlowConfigList"],
sourceFlowConfig=response["sourceFlowConfig"],
triggerConfig=response["triggerConfig"],
description=response.get("description", "Flow description."),
tasks=cast(Sequence[TaskTypeDef], tasks),
tasks=tasks,
)
Original file line number Diff line number Diff line change
Expand Up @@ -1411,7 +1411,7 @@ def get_provider_info():
"aiobotocore>=2.13.0",
"aws_xray_sdk>=2.12.0",
"moto[cloudformation,glue]>=5.0.0",
"mypy-boto3-appflow>=1.35.39",
"mypy-boto3-appflow>=1.37.0",
"mypy-boto3-rds>=1.34.90",
"mypy-boto3-redshift-data>=1.34.0",
"mypy-boto3-s3>=1.34.90",
Expand Down