def _do_get_features_list(featurestore_metadata):
    """
    Gets a list of all features in a featurestore

    Args:
        :featurestore_metadata: metadata of the featurestore

    Returns:
        A list of names of the features in this featurestore
    """
    features = []
    for fg in featurestore_metadata.featuregroups.values():
        features.extend(fg.features)
    features = list(map(lambda f: f.name, features))
    return features