potiuk commented on issue #33451:
URL: https://github.com/apache/airflow/issues/33451#issuecomment-1683382631
What's your `test.yaml` ?
Simply adding print in your installed airflow code and printing whatever is
the response dictionary ? I guess this is what your "test.yaml" is about - you
took it from the response you received ?
This one:
```
_load_body_to_dict('test.yaml')
```
does not tell us much because we do not see what the `test.yaml` content is.
But seeing what you receive in your environment might help in diagnosing the
issue.
Not that I have 0 knowledge about yaml + spark but looking at the
"reproduction" of yours it seems that your test.yaml is wrong and does not
contain "metadata" field, or the field is wrong and does not contain "name"
field. But maybe if you get more information about what you actually see as
response you will a) understand the root cause b) it might help to improve some
diagnostics. and better reaction to (I presume) some error that you see when
receiving the response.
Without seeing the dict the there is little chance we can reason about it
for anyone who would like to fix it.
--
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]