Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
rsokl committed Oct 25, 2023
1 parent 8b70e51 commit 793fba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hydra_zen/structured_configs/_implementations.py
Original file line number Diff line number Diff line change
Expand Up @@ -1806,11 +1806,11 @@ def builds(self,target, populate_full_signature=False, **kw):
>>> pyaml(Conf2)
_target_: __main__.bar
x: ???
'y': foo
or specify a pattern - via a function - for excluding parameters:
>>> Conf3 = builds(bar, populate_full_signature=True, zen_exclude=lambda name: name.startswith("x"))
>>> Conf3 = builds(bar, populate_full_signature=True,
... zen_exclude=lambda name: name.startswith("x"))
>>> pyaml(Conf3)
_target_: __main__.bar
'y': foo
Expand Down

0 comments on commit 793fba8

Please sign in to comment.