vincbeck commented on PR #59411:
URL: https://github.com/apache/airflow/pull/59411#issuecomment-3657134715

   > ```python
   > TokenBody
   > ```
   
   I like that! I agree, from a user standpoint, that will be easy to use to 
have one endpoint instead of multiple. Regarding `TokenBody`, I think we can do 
something cleaner using tagged union in Pydantic: 
https://docs.pydantic.dev/latest/concepts/unions/#exactness


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