code: def get_task_config_fields(config_class):
      
      from lsst.pex.config import Field
  
      def is_config_field(obj):
          return isinstance(obj, Field)
  
      return _get_alphabetical_members(config_class, is_config_field)
docs: Get all configuration Fields from a Config class.
  
      Parameters
      ----------
      config_class : ``lsst.pipe.base.Config``-type
          The configuration class (not an instance) corresponding to a Task.
  
      Returns
      -------
      config_fields : `dict`
          Mapping where keys are the config attribute names and values are
          subclasses of ``lsst.pex.config.Field``. The mapping is alphabetically
          ordered by attribute name.