RFC: hydra.compose() decoration
See original GitHub issueInitial API idea:
@hydra.compose(config_path="path/file.yaml", overrides=["foo=bar", "db=mysql"])
def foo(cfg, userarg):
pass
result = foo(userarg)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Compose API - Hydra
The compose API can compose a config similarly to @hydra.main() anywhere in the code. Prior to calling compose(), you have to initialize Hydra:...
Read more >CHANGELOG.md - ory/hydra - Sourcegraph
This feature adds first-class support for two IETF RFCs and one OpenID Spec: OpenID Connect Dynamic Client Registration 1.0 · OAuth 2.0 Dynamic...
Read more >YAML - Wikipedia
YAML (see § History and name) is a human-readable data-serialization language. It is commonly used for configuration files and in applications where data...
Read more >Package List — Spack 0.20.0.dev0 documentation
https://computing.llnl.gov/projects/co-design/amg2013 ... Versions: 1.4.4; Description: authd is a small and fast RFC 1413 ident protocol daemon with both ...
Read more >Getting Started With API Platform: Create Your API and Your ...
Run the following command to start all services using Docker Compose: ... always serialized using the Hydra error format (RFC 7807 is also...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Glad to see you hear the user voice!
Yes, the new decorator will be able to return results. In fact, so can the current hydra.main() although nothing is using it as of now.