original_docstring: 
          Returns the current configuration as an OrderedDict of OrderedDicts.
          :param display_source: If False, the option value is returned. If True,
              a tuple of (option_value, source) is returned. Source is either
              'airflow.cfg' or 'default'.
          :type display_source: bool
          :param display_sensitive: If True, the values of options set by env
              vars and bash commands will be displayed. If False, those options
              are shown as '< hidden >'
          :type display_sensitive: bool
          
docstring: Returns the current configuration as an OrderedDict of OrderedDicts.
docstring_tokens: Returns the current configuration as an OrderedDict of OrderedDicts .
code: def as_dict(self, display_source=False, display_sensitive=False):
          """
          Returns the current configuration as an OrderedDict of OrderedDicts.
          :param display_source: If False, the option value is returned. If True,
              a tuple of (option_value, source) is returned. Source is either
              'airflow.cfg' or 'default'.
          :type display_source: bool
          :param display_sensitive: If True, the values of options set by env
              vars and bash commands will be displayed. If False, those options
              are shown as '< hidden >'
          :type display_sensitive: bool
          """
          cfg = copy.deepcopy(self._sections)
  
          # remove __name__ (affects Python 2 only)
          for options in cfg.values():
              options.pop('__name__', None)
  
          # add source
          if display_source:
              for section in cfg:
                  for k, v in cfg[section].items():
                      cfg[section][k] = (v, 'airflow config')
  
          # add env vars and overwrite because they have priority
          for ev in [ev for ev in os.environ if ev.startswith('AIRFLOW__')]:
              try:
                  _, section, key = ev.split('__')
                  opt = self._get_env_var_option(section, key)
              except ValueError:
                  opt = None
              if opt:
                  if (
                          not display_sensitive
                          and ev != 'AIRFLOW__CORE__UNIT_TEST_MODE'):
                      opt = '< hidden >'
                  if display_source:
                      opt = (opt, 'env var')
                  cfg.setdefault(section.lower(), OrderedDict()).update(
                      {key.lower(): opt})
  
          # add bash commands
          for (section, key) in AirflowConfigParser.as_command_stdout:
              opt = self._get_cmd_option(section, key)
              if opt:
                  if not display_sensitive:
                      opt = '< hidden >'
                  if display_source:
                      opt = (opt, 'bash cmd')
                  cfg.setdefault(section, OrderedDict()).update({key: opt})
  
          return cfg
code_tokens: def as_dict ( self , display_source = False , display_sensitive = False ) : cfg = copy . deepcopy ( self . _sections ) for options in cfg . values ( ) : options . pop ( '__name__' , None ) if display_source : for section in cfg : for k , v in cfg [ section ] . items ( ) : cfg [ section ] [ k ] = ( v , 'airflow config' ) for ev in [ ev for ev in os . environ if ev . startswith ( 'AIRFLOW__' ) ] : try : _ , section , key = ev . split ( '__' ) opt = self . _get_env_var_option ( section , key ) except ValueError : opt = None if opt : if ( not display_sensitive and ev != 'AIRFLOW__CORE__UNIT_TEST_MODE' ) : opt = '< hidden >' if display_source : opt = ( opt , 'env var' ) cfg . setdefault ( section . lower ( ) , OrderedDict ( ) ) . update ( { key . lower ( ) : opt } ) for ( section , key ) in AirflowConfigParser . as_command_stdout : opt = self . _get_cmd_option ( section , key ) if opt : if not display_sensitive : opt = '< hidden >' if display_source : opt = ( opt , 'bash cmd' ) cfg . setdefault ( section , OrderedDict ( ) ) . update ( { key : opt } ) return cfg
short_docstring: Returns the current configuration as an OrderedDict of OrderedDicts.
short_docstring_tokens: Returns the current configuration as an OrderedDict of OrderedDicts .
comment: """
          Returns the current configuration as an OrderedDict of OrderedDicts.
          :param display_source: If False, the option value is returned. If True,
              a tuple of (option_value, source) is returned. Source is either
              'airflow.cfg' or 'default'.
          :type display_source: bool
          :param display_sensitive: If True, the values of options set by env
              vars and bash commands will be displayed. If False, those options
              are shown as '< hidden >'
          :type display_sensitive: bool
          """$SEP$# remove __name__ (affects Python 2 only)$SEP$# add source$SEP$# add env vars and overwrite because they have priority$SEP$# add bash commands