This documentation is for the unstable version of GoodData, currrently in development.
For stable version, go to the latest stable version of this article.
catalog_workspace_content.

get_dependent_entities_graph_from_entry_points

get_dependent_entities_graph_from_entry_points(workspace_id: str, dependent_entities_request: CatalogDependentEntitiesRequest)

Extends the get_dependent_entities_graph with the entry point from which the graph is created.

Parameters

nametypedescription
workspace_idstringWorkspace identification string e.g. "demo"
dependent_entities_requestCatalogDependentEntitiesRequestEntry points for the dependent entities graph

Returns

typedescription
CatalogDependentEntitiesResponseDependent entities graph containing nodes and edges.

Example

# Get the identiffies
identifiers=[CatalogEntityIdentifier(id="campaign_channel_id", type="attribute")]
# Get dependent entities
dependent_entites_request = CatalogDependentEntitiesRequest(identifiers=identifiers)
# Get dependent entities Graph
sdk.catalog_workspace_content.get_dependent_entities_graph_from_entry_points(
    workspace_id="123",
    dependent_entities_request=dependent_entites_request
)

# CatalogDependentEntitiesResponse(
#   graph=CatalogDependentEntitiesGraph(
#       nodes=[
#           CatalogDependentEntitiesNode(
#               id='campaign_channel_id',
#               type='attribute',
#               title='Campaign channel id'
#           ),
#           CatalogDependentEntitiesNode(
#               id='campaign_channels',
#               type='dataset',
#               title='Campaign channels'
#           )
#       ],
#       edges=[
#           [
#               CatalogEntityIdentifier(
#                   id='campaign_channel_id',
#                   type='attribute'
#               ),
#               CatalogEntityIdentifier(
#                   id='campaign_channels',
#                   type='dataset'
#               )
#           ]
#       ]
#   )
# )