File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
airflow/providers/google/cloud/operators Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -536,8 +536,12 @@ class GCSFileTransformOperator(BaseOperator):
536
536
data from source, transform it and write the output to the local
537
537
destination file.
538
538
539
- :param source_bucket: The key to be retrieved from GCS. (templated)
540
- :param destination_bucket: The key to be written from GCS. (templated)
539
+ :param source_bucket: The bucket to locate the source_object. (templated)
540
+ :param source_object: The key to be retrieved from GCS. (templated)
541
+ :param destination_bucket: The bucket to upload the key after transformation.
542
+ If not provided, source_bucket will be used. (templated)
543
+ :param destination_object: The key to be written in GCS.
544
+ If not provided, source_object will be used. (templated)
541
545
:param transform_script: location of the executable transformation script or list of arguments
542
546
passed to subprocess ex. `['python', 'script.py', 10]`. (templated)
543
547
:param gcp_conn_id: The connection ID to use connecting to Google Cloud.
@@ -553,7 +557,9 @@ class GCSFileTransformOperator(BaseOperator):
553
557
554
558
template_fields : Sequence [str ] = (
555
559
'source_bucket' ,
560
+ 'source_object' ,
556
561
'destination_bucket' ,
562
+ 'destination_object' ,
557
563
'transform_script' ,
558
564
'impersonation_chain' ,
559
565
)
You can’t perform that action at this time.
0 commit comments