amoghrajesh commented on PR #67319:
URL: https://github.com/apache/airflow/pull/67319#issuecomment-4551443334

   @bbovenzi Yeah we will need it because there is a distinction here: 
   
   - PUT accepts key for expiry too (`expires_at`) and is used when task state 
needs to be created, ie: UI's "Add" button
   - PATCH updates only the `value` of an existing task state key and preserves 
the current `expires_at`, ie: UI's "Edit" button
   
   If we collapsed them into one endpoint we'd lose the ability to create task 
state with an `expires_at` value


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

Reply via email to