abhishekbhakat commented on PR #33885: URL: https://github.com/apache/airflow/pull/33885#issuecomment-1697635902
@potiuk Added the test. And tried with removing the code, below is the result with test failing. ``` FAILED tests/api_connexion/endpoints/test_variable_endpoint.py::TestPatchVariable::test_should_reject_invalid_update - AttributeError: 'NoneType' object has no attribute 'key' ``` Also didn't wanted to leave the `detail` key in response as `None`. So added the code while raising exception. -- 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]
