mit-ll-responsible-ai / hydra-zen

Create powerful Hydra applications without the yaml files and boilerplate code.
https://mit-ll-responsible-ai.github.io/hydra-zen/
MIT License
338 stars 15 forks source link

make flat-target path point to correct target with zen-processing #638

Closed rsokl closed 7 months ago

rsokl commented 9 months ago

Potentially addresses https://github.com/mit-ll-responsible-ai/hydra-zen/discussions/637

zen-processing features can be used with the flat-target feature via inheritance:

from hydra_zen import builds

A = builds(dict, x=1, zen_meta={"META": 2})
B = builds(A, x="${META}", builds_bases=(A,))