Skip to content

Commit

Permalink
feat(hydra-main): add plugins parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Jul 24, 2023
1 parent 1a4c833 commit 2b708ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hyfi/core/hydra/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def main(
config_name: Optional[str] = None,
version_base: Optional[str] = _UNSPECIFIED_,
overrides: Optional[List[str]] = None,
plugins: Optional[List[str]] = None,
) -> Callable[[TaskFunction], Any]:
"""
:param config_path: The config path, a directory where Hydra will search for
Expand Down Expand Up @@ -75,6 +76,7 @@ def decorated_main(cfg_passthrough: Optional[DictConfig] = None) -> Any:
task_function=task_function,
config_path=config_path,
config_name=config_name,
plugins=plugins,
)

return decorated_main
Expand Down

0 comments on commit 2b708ac

Please sign in to comment.