Skip to main content

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?

 

Be the first to reply!

Reply