gfelot opened a new issue #10585:
URL: https://github.com/apache/airflow/issues/10585
**Apache Airflow version**: 1.10.9
**What happened**:
I want to delete temporary file at the end of my DAG in a GCS bucket. When I
add the list of values in the arguments `object` I get an error that the file
is not found. The reason is the symbole **/** is URL encoded **%2F**.
```
gcs_delete_temp = GoogleCloudStorageDeleteOperator(
task_id="gcs_delete_temp",
bucket_name=f"super_bucket",
objects=[
"rte/temp/{{ macros.ds_add(ds, -10) }}_injectee.parquet",
"rte/temp/{{ macros.ds_add(ds, -10) }}_soutiree.parquet"
]
)
```
I got the error:
> google.api_core.exceptions.NotFound: 404 DELETE
https://storage.googleapis.com/storage/v1/b/super_bucket/o/rte%2Ftemp%2F2020-07-25_injectee.parquet:
Not Found
I tried to escape them but the **\** symbole is URL encoded too.
Is that a bug ? Or a feature ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]