def get_feature_from_key(self, feature_key):
    """ Get feature for the provided feature key.

    Args:
      feature_key: Feature key for which feature is to be fetched.

    Returns:
      Feature corresponding to the provided feature key.
    """
    feature = self.feature_key_map.get(feature_key)

    if feature:
      return feature

    self.logger.error('Feature "%s" is not in datafile.' % feature_key)
    return None
Get feature for the provided feature key.

    Args:
      feature_key: Feature key for which feature is to be fetched.

    Returns:
      Feature corresponding to the provided feature key.