5.2.22. xgt.OnMissingVertices¶
- class xgt.OnMissingVertices¶
Controls the behavior of an edge load when an edge references a source or target vertex key that does not exist in the endpoint vertex frame.
Attributes
Implicitly create the missing vertex with the given key and null property values.
stop and raise unless
suppress_errors=True, in which case the offending edge is recorded in the job errors.Silently skip the edge when either endpoint is missing; no vertex is created and no error is recorded.
- AUTO: str = 'auto'¶
Implicitly create the missing vertex with the given key and null property values. The default, and the historical behavior.
- ERROR: str = 'error'¶
stop and raise unless
suppress_errors=True, in which case the offending edge is recorded in the job errors.- Type:
Treat the missing endpoint as an ingest error
- SKIP: str = 'skip'¶
Silently skip the edge when either endpoint is missing; no vertex is created and no error is recorded.