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

config adapter helper functions#896

Closed
Titousensei wants to merge 2 commits intofacebookresearch:masterfrom
Titousensei:export-D16749189
Closed

config adapter helper functions#896
Titousensei wants to merge 2 commits intofacebookresearch:masterfrom
Titousensei:export-D16749189

Conversation

@Titousensei
Copy link
Copy Markdown
Contributor

Summary:
config adapter has a very powerfull function rename_parameter.
This diff splits this function to expose its inner functions that can be
useful for more than just renaming parameters.

These new functions will be used in the next diff in the stack

Differential Revision: D16749189

Summary:
we use the function eprint to print to stderr. This diff moves this
function to a utils class and we change a few (stdout) print to (stderr) eprint.
This gives a cleaner output when piping to files.

Differential Revision: D16749170

fbshipit-source-id: c3935f515a5463ae05aa90ecb6ad66192ba55a08
Summary:
config adapter has a very powerfull function `rename_parameter`.
This diff splits this function to expose its inner functions that can be
useful for more than just renaming parameters.

These new functions will be used in the next diff in the stack

Differential Revision: D16749189

fbshipit-source-id: 8a61eaf289d0627af438c9568b16ba2103604fa5
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Aug 11, 2019
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 0217d4f.

@Titousensei Titousensei deleted the export-D16749189 branch August 27, 2019 18:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants