Historical getfloat
(*args, **kwargs)
| 904 | |
| 905 | |
| 906 | def getfloat(*args, **kwargs): # noqa: D103 |
| 907 | """Historical getfloat""" |
| 908 | warnings.warn( |
| 909 | "Accessing configuration method 'getfloat' directly from the configuration module is " |
| 910 | "deprecated. Please access the configuration from the 'configuration.conf' object via " |
| 911 | "'conf.getfloat'", |
| 912 | DeprecationWarning, |
| 913 | stacklevel=2, |
| 914 | ) |
| 915 | return conf.getfloat(*args, **kwargs) |
| 916 | |
| 917 | |
| 918 | def getint(*args, **kwargs): # noqa: D103 |