Query Runner Types

Generic supporting types for the query runner.

class graphdatascience.query_runner.termination_flag.TerminationFlag

Abstract flag used to signal cancellation of a running GDS operation.

class graphdatascience.query_runner.query_runner.QueryRunner
__init__()
__new__(**kwargs)
enum graphdatascience.query_runner.query_mode.QueryMode(value)

The mode in which a Cypher query is run.

Member Type:

str

Valid values are as follows:

READ = <QueryMode.READ: 'READ'>
WRITE = <QueryMode.WRITE: 'WRITE'>

The Enum and its members also have the following methods:

__new__(value)
__init__(*args, **kwds)
class graphdatascience.retry_utils.retry_config.RetryConfigV2

Retry configuration which can be serialized/deserialized.

__init__(**data: Any) → None

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Parameters:

data (Any)

Return type:

None

__new__(**kwargs)