Skip to content

Commit

Permalink
Fix to handle hidden parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
1maple1 committed May 13, 2024
1 parent 83e9e63 commit 605cf9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brewtils/auto_decorator.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def addFunctions(self, client):
if func.startswith("_"):
_wrapped._command = Command(hidden=True)
elif has_kwargs:
_wrapped._command = Command(allow_any_kwargs=True)
_wrapped._command = Command(hidden=func.startswith("_"), allow_any_kwargs=True)
else:
_wrapped._command = Command()

Expand Down

0 comments on commit 605cf9d

Please sign in to comment.