Skip to main content
Version: v3.0.0

Search for features

Searches feature names and descriptions across all feature sets in the workspace.

# Free-text search
for feature in workspace.search_features(query="customer"):
print(feature.name, feature.description)

# Sort results
for feature in workspace.search_features(
query="fraud",
sort_field="FEATURE_SORT_FIELD_NAME",
sort_direction="SORT_ASC",
):
print(feature.name)

# Only show features from feature sets you own
for feature in workspace.search_features(owned_only=True):
print(feature.name)

Parameters

ParameterTypeRequiredDescription
querystrNoFree-text search on feature name and description.
sort_fieldstrNo"FEATURE_SORT_FIELD_NAME" or "FEATURE_SORT_FIELD_DESCRIPTION".
sort_directionstrNo"SORT_ASC" or "SORT_DESC".
owned_onlyboolNoIf True, only returns features from feature sets you own.

Feedback