def _integrate_plugins():
 from airflow.plugins_manager import hooks_modules
 for hooks_module in hooks_modules:
  sys.modules[hooks_module.__name__] = hooks_module
  globals()[hooks_module._name] = hooks_module
  if (not _os.environ.get('AIRFLOW_USE_NEW_IMPORTS', False)):
   from zope.deprecation import deprecated as _deprecated
   for _hook in hooks_module._objects:
    hook_name = _hook.__name__
    globals()[hook_name] = _hook
    _deprecated(hook_name, "Importing plugin hook '{i}' directly from 'airflow.hooks' has been deprecated. Please import from 'airflow.hooks.[plugin_module]' instead. Support for direct imports will be dropped entirely in Airflow 2.0.".format(i=hook_name))

def _integrate_plugins ( ) : from airflow . plugins_manager import hooks_modules for hooks_module in hooks_modules : sys . modules [ hooks_module . __name__ ] = hooks_module globals ( ) [ hooks_module . _name ] = hooks_module if ( not _os . environ . get ( 'AIRFLOW_USE_NEW_IMPORTS' , False ) ) : from zope . deprecation import deprecated as _deprecated for _hook in hooks_module . _objects : hook_name = _hook . __name__ globals ( ) [ hook_name ] = _hook _deprecated ( hook_name , "Importing plugin hook '{i}' directly from 'airflow.hooks' has been deprecated. Please import from 'airflow.hooks.[plugin_module]' instead. Support for direct imports will be dropped entirely in Airflow 2.0." . format ( i = hook_name ) )
integrate plugins to the context .