MCPcopy
hub / github.com/apache/airflow / getfloat

Function getfloat

airflow/configuration.py:906–915  ·  view source on GitHub ↗

Historical getfloat

(*args, **kwargs)

Source from the content-addressed store, hash-verified

904
905
906def 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
918def getint(*args, **kwargs): # noqa: D103

Callers

nothing calls this directly

Calls 2

warnMethod · 0.80
getfloatMethod · 0.80

Tested by

no test coverage detected