(joined: dict)
| 43 | """ |
| 44 | |
| 45 | def separate_fn(joined: dict) -> list: |
| 46 | # The dummy allows the union to be converted. |
| 47 | @dataclass |
| 48 | class Dummy: |
| 49 | dummy: data_class_union |
| 50 | |
| 51 | return [ |
| 52 | get_typed_config(Dummy, DictConfig({"dummy": {"name": name, **cfg}})).dummy |
| 53 | for name, cfg in joined.items() |
| 54 | ] |
| 55 | |
| 56 | return separate_fn |
nothing calls this directly
no test coverage detected