mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-26 17:37:33 +00:00
feat(sdk): add data products to suggested entity type filters (#14159)
This commit is contained in:
parent
7f9891d530
commit
648983a710
@ -81,7 +81,7 @@ class _EntityTypeFilter(_BaseFilter):
|
||||
ENTITY_TYPE_FIELD: ClassVar[str] = "_entityType"
|
||||
|
||||
entity_type: List[str] = pydantic.Field(
|
||||
description="The entity type to filter on. Can be 'dataset', 'chart', 'dashboard', 'corpuser', etc.",
|
||||
description="The entity type to filter on. Can be 'dataset', 'chart', 'dashboard', 'corpuser', 'dataProduct', etc.",
|
||||
)
|
||||
|
||||
def _build_rule(self) -> SearchFilterRule:
|
||||
|
||||
@ -40,6 +40,7 @@ def test_graphql_entity_types() -> None:
|
||||
"dataJob": "DATA_JOB",
|
||||
"glossaryNode": "GLOSSARY_NODE",
|
||||
"glossaryTerm": "GLOSSARY_TERM",
|
||||
"dataProduct": "DATA_PRODUCT",
|
||||
"dataHubExecutionRequest": "EXECUTION_REQUEST",
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user