Skip to main content
Question

How to identify events from data_models.list sdk method


Forum|alt.badge.img

Hello Team,

We are trying to identify event type from data_modeling.data_models.list sdk method.

as for sequences we get a response something like

{
    "container": {
        "space": "pgnig_space",
        "external_id": "SimulationResultSequences"
    },
    "container_property_identifier": "data",
    "type": {
        "list": false,
        "type": "sequence"
    },
    "nullable": true,
    "auto_increment": false,
    "name": "data"
}

So here we can identify sequnce by type.type= sequence

 

for event type we get something like:

{
    "type": {
        "space": "slb-pdm-dm-governed",
        "external_id": "Event.entities"
    },
    "source": {
        "space": "slb-pdm-dm-governed",
        "external_id": "Event",
        "version": "1_7",
        "type": "view"
    },
    "name": "events",
    "direction": "inwards",
    "connection_type": "multi_edge_connection"
}

 

so here we don't get a type event. It refer s to a view and even if we go inside the view we cannot see any type specified as event.

The only difference we see in event and non event type is that its direction is “inwards”.

Is this correct? or is there any other way to identify the events?

 

0 replies

Be the first to reply!

Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings