Closed rsokl closed 11 months ago
E.g.
>>> from hydra_zen import builds, to_yaml >>> def pyaml(x): ... # for pretty printing configs ... print(to_yaml(x)) >>> def bar(x: bool, y: str = 'foo'): return x, y >>> Conf2 = builds(bar, populate_full_signature=True, zen_exclude=[-1]) # exclude last param >>> pyaml(Conf2) _target_: __main__.bar x: ???
E.g.