Fabio Natanael Kepler
Fabio Natanael Kepler
**Describe the bug** Parsing fails with a `KeyError` when processing an external ref that contains a local ref. ``` /datamodel_code_generator/parser/jsonschema.py", line 54, in get_model_by_path return get_model_by_path(schema[keys[0]], keys[1:]) KeyError: 'model_a' ```...
## Description **Summary of changes**: The main problem: newish syntax for unions with `|` supported by Python 3.10 are of [type](https://docs.python.org/3.10/library/types.html#types.UnionType) `types.UnionType`, and didn't match `Union`. There's a very recently...
## Proposed change This fixes https://github.com/home-assistant/core/issues/139580 (described below as well). If I try TTS or playing a local media audio file on a DLNA compatible speaker, it doesn't work and...