amoghrajesh commented on code in PR #68129:
URL: https://github.com/apache/airflow/pull/68129#discussion_r3367078886
##########
task-sdk/src/airflow/sdk/api/client.py:
##########
@@ -987,7 +988,7 @@ def __init__(self, client: Client):
def get(self, dag_id: str) -> DagResponse:
"""Get a DAG via the API server."""
- resp = self.client.get(f"dags/{dag_id}")
+ resp = self.client.get(f"dags/{quote(dag_id, safe='')}")
Review Comment:
Shouldn't the server side handle this? Since python task sdk might not the
only client here?
(xcoms, variables, task store etc handle it)
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]