Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Conversation

@wat3rBro
Copy link
Contributor

@wat3rBro wat3rBro commented Jun 2, 2022

Differential Revision: D36463900

wat3rBro added 2 commits June 2, 2022 12:41
Summary:
- set `get_default_cfg = None` to opt-in this new feature.
- support config with `_DEFAULTS_` when loading config file. Note that we don't check explicitly `"_DEFAULTS_" in config file` but check `runner.get_default_cfg == None`, this is because runner having `get_default_cfg` and config having `_DEFAULTS_` should be mutually exclusive, and `load_full_config_from_file` can raise proper error if `_DEFAULTS_` is missing.
- we also need to save `_DEFAULTS_` in the diff config.

Differential Revision: D36868581

fbshipit-source-id: 4cc2d516c45d8f161f37a8c6f2a8146cc03e3462
Differential Revision: D36463900

fbshipit-source-id: 4d4b5ee0bd9cfece35e1ed6f5090fe828d4b71ff
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Jun 2, 2022
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D36463900

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants