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

Function getsection

airflow/configuration.py:930–939  ·  view source on GitHub ↗

Historical getsection

(*args, **kwargs)

Source from the content-addressed store, hash-verified

928
929
930def 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
942def has_option(*args, **kwargs): # noqa: D103

Callers

nothing calls this directly

Calls 2

warnMethod · 0.80
getsectionMethod · 0.80

Tested by

no test coverage detected