Historical getsection
(*args, **kwargs)
| 928 | |
| 929 | |
| 930 | def getsection(*args, **kwargs): # noqa: D103 |
| 931 | """Historical getsection""" |
| 932 | warnings.warn( |
| 933 | "Accessing configuration method 'getsection' directly from the configuration module is " |
| 934 | "deprecated. Please access the configuration from the 'configuration.conf' object via " |
| 935 | "'conf.getsection'", |
| 936 | DeprecationWarning, |
| 937 | stacklevel=2, |
| 938 | ) |
| 939 | return conf.getsection(*args, **kwargs) |
| 940 | |
| 941 | |
| 942 | def has_option(*args, **kwargs): # noqa: D103 |
nothing calls this directly
no test coverage detected