xu-xiang commented on issue #10479:
URL: https://github.com/apache/airflow/issues/10479#issuecomment-679270150


   I have test it with the latest master. But still respond "Property is 
read-only - 'description'"
   
   
   ```
   (airflowenv) ➜ github curl -v -X PATCH -H "Content-Type: application/json" 
--data '{ "description": null}' 
http://127.0.0.1:8080/api/v1/dags/example_bash_operator
   *   Trying 127.0.0.1...
   * TCP_NODELAY set
   * Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)
   > PATCH /api/v1/dags/example_bash_operator HTTP/1.1
   > Host: 127.0.0.1:8080
   > User-Agent: curl/7.64.1
   > Accept: */*
   > Content-Type: application/json
   > Content-Length: 22
   >
   * upload completely sent off: 22 out of 22 bytes
   < HTTP/1.1 400 BAD REQUEST
   < Server: gunicorn/19.10.0
   < Date: Mon, 24 Aug 2020 17:37:40 GMT
   < Connection: close
   < Content-Type: application/problem+json
   < Content-Length: 124
   < X-Frame-Options: DENY
   < Vary: Cookie
   < Set-Cookie: 
session=eyJfcGVybWFuZW50Ijp0cnVlfQ.X0P65A.kt8QcmvtFZ4pXpx9JX1lEjO33rI; 
Expires=Wed, 23-Sep-2020 17:37:40 GMT; HttpOnly; Path=/
   <
   {
     "detail": "Property is read-only - 'description'",
     "status": 400,
     "title": "Bad Request",
     "type": "about:blank"
   }
   * Closing connection 0
   (airflowenv) ➜ github
   ```
   


----------------------------------------------------------------
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]


Reply via email to