astronomer / astro-cli

CLI that makes it easy to create, test and deploy Airflow DAGs to Astronomer
https://www.astronomer.io
Other
361 stars 71 forks source link

Switch description from query parameter to form data sending deploy description to dag server #1726

Closed Simpcyclassy closed 1 month ago

Simpcyclassy commented 1 month ago

Description

This PR modifies the way the description is handled in the UploadFile function. Previously, the description was passed as a query parameter in the URL. It is now switched to be sent as form data along with the file in the multipart request.

Key changes:

This change improves the handling of spaces and special characters in the description, avoiding issues caused by URL encoding.

Related astronomer/issues/issues/6663

🧪 Functional Testing

📸 Screenshots

Add screenshots to illustrate the validity of these changes.

📋 Checklist

Simpcyclassy commented 1 month ago

I do not have the permission to merge. I need help merging this @neel-astro