in src/gcf/main.py [0:0]
def build_features_list(feature_names: str) -> Optional[list]:
"""Gets a list of Vision features for given list of names.
Args:
feature_names: a comma-delimited list of feature names.
Returns:
list: a list of vision.Feature.Type matching names in the input.
"""
features_list = []
features_items = feature_names.split(",")
for feature_name in features_items:
feature = get_feature_by_name(feature_name.upper().strip('"').strip())
if feature:
features_list.append({"type_": feature})
return features_list