Skip to content
Merged
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
10 changes: 9 additions & 1 deletion airflow/providers/amazon/aws/transfers/dynamodb_to_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from copy import copy
from os.path import getsize
from tempfile import NamedTemporaryFile
from typing import IO, TYPE_CHECKING, Any, Callable, Dict, Optional
from typing import IO, TYPE_CHECKING, Any, Callable, Dict, Optional, Sequence
from uuid import uuid4

from airflow.models import BaseOperator
Expand Down Expand Up @@ -79,6 +79,14 @@ class DynamoDBToS3Operator(BaseOperator):
maintained on each worker node).
"""

template_fields: Sequence[str] = (
's3_bucket_name',
'dynamodb_table_name',
)
template_fields_renderers = {
"dynamodb_scan_kwargs": "json",
}

def __init__(
self,
*,
Expand Down