Skip to content

TigerGraphX Interface doesn't support Multiple Edges #71

@custom-discoveries

Description

@custom-discoveries

I have a schema that is defines an edge with multiple edge pairs:
ADD UNDIRECTED EDGE hasLocation(FROM Location, TO County | FROM Location, TO City | FROM Location, TO Zip);

When I try to load my schema using the TigerGraphX interface code: G = Graph.from_db(GRAPH,self.connection),

I receive the following error message:

Error in Loading 1 validation error for GraphSchema Value error, Invalid edges in schema for graph 'USA_Locations_Graph': Edge 'hasLocation' requires nodes 'Location' and '*' to be defined; [type=value_error, input_value={'graph_name': 'USA_Locat...t(), 'attributes': {}}}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.12/v/value_error

It seems that TigerGraphX interface isn't capturing all the Edge Pairs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions