CatalogWorkspaceService.

create_or_update_filter_view

create_or_update_filter_view(workspace_id: str, filter_view: CatalogFilterView) -> UpsertOutcome

Create a new filter view or overwrite an existing one.

Parameters

nametypedescription
workspace_idstrString containing id of the workspace.
filter_viewCatalogFilterViewFilterView entity object.

Returns

typedescription
UpsertOutcome

CREATED if the filter view did not exist yet, UPDATED if it did.