bugraoz93 commented on issue #42560:
URL: https://github.com/apache/airflow/issues/42560#issuecomment-2471128036

   Awesome, thanks! 
   
   These endpoints will primarily be used when users are importing models from 
a file via the CLI. 
   
   My thinking is to fail the entire transaction and return a list of errors 
for any entries that caused issues. This way, users can quickly locate and fix 
specific items in the file or request, and then resend it. Creating only a 
portion of the entries would still be inconvenient for both API and CLI users. 
Not only is editing but also removing partial entries difficult if they’re 
spread across different sections of the list.
   
   From the CLI perspective, we can return the response message to the user as 
we do with the API if it fails, so both are aligned.
   
   What do you think?


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