Extract the help message for a `configuration.NamespaceConfig` property docstring.
(name: str, hidden: bool = False)
| 52 | |
| 53 | |
| 54 | def config_help(name: str, hidden: bool = False) -> Optional[str]: |
| 55 | """Extract the help message for a `configuration.NamespaceConfig` property docstring.""" |
| 56 | if hidden: |
| 57 | return argparse.SUPPRESS |
| 58 | return inspect.getdoc(getattr(configuration.NamespaceConfig, name)) |
| 59 | |
| 60 | |
| 61 | class HelpfulArgumentGroup: |
no outgoing calls
no test coverage detected