Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend hydra.main() to take a config_name #395

Closed
omry opened this issue Feb 1, 2020 · 1 comment
Closed

Extend hydra.main() to take a config_name #395

omry opened this issue Feb 1, 2020 · 1 comment
Milestone

Comments

@omry
Copy link
Collaborator

omry commented Feb 1, 2020

See this for details.

@omry
Copy link
Collaborator Author

omry commented Feb 1, 2020

For consistency I am also changing the experimental compose API to take config_name instead of config_file:

def compose(
    config_file: Optional[str] = None,
    overrides: List[str] = [],
    strict: Optional[bool] = None,
) -> DictConfig:

Becomes:

def compose(
    config_name: Optional[str] = None,
    overrides: List[str] = [],
    strict: Optional[bool] = None,
) -> DictConfig:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant