graphdatascience 2.0a4__py3-none-any.whl → 2.0a5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. graphdatascience/arrow_client/arrow_endpoint_version.py +0 -1
  2. graphdatascience/error/standalone_session_error.py +1 -1
  3. graphdatascience/graph_construction/arrow_v1_graph_constructor.py +1 -13
  4. graphdatascience/graph_construction/cypher_graph_constructor.py +1 -0
  5. graphdatascience/graph_data_science.py +2 -0
  6. graphdatascience/procedure_surface/api/centrality/articulationpoints_endpoints.py +3 -3
  7. graphdatascience/procedure_surface/api/node_embedding/fastpath_endpoints.py +67 -67
  8. graphdatascience/procedure_surface/api/node_embedding/fastrp_endpoints.py +5 -5
  9. graphdatascience/procedure_surface/api/node_embedding/graphsage_endpoints.py +1 -1
  10. graphdatascience/procedure_surface/api/node_embedding/graphsage_train_endpoints.py +1 -1
  11. graphdatascience/procedure_surface/api/node_embedding/node2vec_endpoints.py +4 -4
  12. graphdatascience/procedure_surface/arrow/catalog/catalog_arrow_endpoints.py +2 -2
  13. graphdatascience/procedure_surface/arrow/centrality/articulationpoints_arrow_endpoints.py +11 -4
  14. graphdatascience/procedure_surface/arrow/endpoints_helper_base.py +2 -2
  15. graphdatascience/procedure_surface/arrow/node_embedding/fastpath_arrow_endpoints.py +89 -95
  16. graphdatascience/procedure_surface/arrow/pathfinding/single_source_bellman_ford_arrow_endpoints.py +2 -0
  17. graphdatascience/procedure_surface/arrow/stream_result_mapper.py +18 -1
  18. graphdatascience/procedure_surface/cypher/catalog/graph_backend_cypher.py +2 -0
  19. graphdatascience/procedure_surface/cypher/catalog/projection_cypher_endpoints.py +1 -4
  20. graphdatascience/query_runner/neo4j_query_runner.py +18 -9
  21. graphdatascience/session/aura_api.py +4 -1
  22. graphdatascience/session/aura_api_responses.py +5 -3
  23. graphdatascience/session/gds_sessions.py +19 -4
  24. graphdatascience/session/remote_ops/project_protocols.py +5 -2
  25. graphdatascience/session/remote_ops/write_protocols.py +2 -1
  26. graphdatascience/session/session_info.py +3 -0
  27. graphdatascience/session/session_lifecycle_manager.py +2 -2
  28. graphdatascience/version.py +1 -1
  29. {graphdatascience-2.0a4.dist-info → graphdatascience-2.0a5.dist-info}/METADATA +1 -1
  30. {graphdatascience-2.0a4.dist-info → graphdatascience-2.0a5.dist-info}/RECORD +33 -33
  31. {graphdatascience-2.0a4.dist-info → graphdatascience-2.0a5.dist-info}/WHEEL +0 -0
  32. {graphdatascience-2.0a4.dist-info → graphdatascience-2.0a5.dist-info}/licenses/LICENSE +0 -0
  33. {graphdatascience-2.0a4.dist-info → graphdatascience-2.0a5.dist-info}/top_level.txt +0 -0
@@ -30,6 +30,5 @@ class ArrowEndpointVersion(Enum):
30
30
  class UnsupportedArrowEndpointVersion(Exception):
31
31
  def __init__(self, compatible_versions: set[ArrowEndpointVersion], supported_server_versions: set[str]) -> None:
32
32
  super().__init__(
33
- self,
34
33
  f"The GDS version is not supported by this client version, please update the `graphdatascience` package. Arrow versions supported by this client are: {compatible_versions}, but GDS supports: {supported_server_versions}",
35
34
  )
@@ -1,3 +1,3 @@
1
1
  class NotAvailableInStandaloneSessions(Exception):
2
2
  def __init__(self, subject: str) -> None:
3
- super().__init__(self, f"{subject} is not available in standalone sessions")
3
+ super().__init__(f"{subject} is not available in standalone sessions")
@@ -3,7 +3,6 @@ from __future__ import annotations
3
3
  import concurrent
4
4
  import logging
5
5
  from concurrent.futures import ThreadPoolExecutor
6
- from typing import Any
7
6
 
8
7
  from pandas import DataFrame
9
8
  from tqdm.auto import tqdm
@@ -36,22 +35,11 @@ class ArrowV1GraphConstructor(GraphConstructor):
36
35
 
37
36
  def run(self, node_dfs: list[DataFrame], relationship_dfs: list[DataFrame]) -> None:
38
37
  try:
39
- config: dict[str, Any] = {
40
- "name": self._graph_name,
41
- "database_name": self._database,
42
- }
43
-
44
- if self._undirected_relationship_types:
45
- config["undirected_relationship_types"] = self._undirected_relationship_types
46
-
47
- if self._inverse_indexed_relationship_types:
48
- config["inverse_indexed_relationship_types"] = self._inverse_indexed_relationship_types
49
-
50
38
  self._client.create_graph(
51
39
  graph_name=self._graph_name,
52
40
  database=self._database,
53
41
  undirected_relationship_types=self._undirected_relationship_types,
54
- inverse_indexed_relationship_types=None,
42
+ inverse_indexed_relationship_types=self._inverse_indexed_relationship_types,
55
43
  concurrency=self._concurrency,
56
44
  )
57
45
 
@@ -83,6 +83,7 @@ class CypherGraphConstructor(GraphConstructor):
83
83
  self._server_version,
84
84
  self._concurrency,
85
85
  self._undirected_relationship_types,
86
+ self._inverse_indexed_relationship_types,
86
87
  ).run(node_dfs, relationship_dfs)
87
88
 
88
89
  def _should_warn_about_arrow_missing(self) -> bool:
@@ -876,6 +876,8 @@ class GraphDataScience:
876
876
 
877
877
  If the GraphDataScience object was instantiated with a Neo4j Driver, the driver will not be closed as we cannot assume sole ownership of it.
878
878
  """
879
+ if self._arrow_client is not None:
880
+ self._arrow_client.close()
879
881
  self._query_runner.close()
880
882
 
881
883
  def __enter__(self) -> GraphDataScience:
@@ -136,9 +136,9 @@ class ArticulationPointsEndpoints(ABC):
136
136
  Returns
137
137
  -------
138
138
  pandas.DataFrame
139
- A DataFrame containing articulation points with columns:
140
- - nodeId: The ID of the articulation point
141
- - resultingComponents: Information about resulting components
139
+ A DataFrame with 'nodeId' and 'resultingComponents' columns. The 'resultingComponents'
140
+ column contains a map with 'min', 'max', and 'count' keys describing the resulting
141
+ components when the node is removed (null for non-articulation-point nodes).
142
142
  """
143
143
 
144
144
  @abstractmethod
@@ -30,24 +30,24 @@ class FastPathEndpoints(ABC):
30
30
  base_node_label: str,
31
31
  event_node_label: str,
32
32
  mutate_property: str,
33
- dimension: int,
34
- max_elapsed_time: int,
35
- num_elapsed_times: int,
33
+ embedding_dimension: int,
34
+ lookback_horizon: int,
35
+ num_time_anchors: int,
36
36
  *,
37
- categorical_event_properties: list[str] = [],
37
+ event_node_categorical_properties: list[str] = [],
38
38
  relationship_types: list[str] = ALL_TYPES,
39
39
  context_node_label: str | None = None,
40
- decay_factor: float = 1.0,
41
- event_features: str | None = None,
40
+ decay_rate: float = 1.0,
41
+ event_node_feature_vector_property: str | None = None,
42
42
  first_relationship_type: str | None = None,
43
- ignored_event_category: int = -1,
43
+ event_node_ignored_category: int = -1,
44
44
  next_relationship_type: str | None = None,
45
- output_time: float | None = None,
46
- output_time_property: str | None = None,
45
+ observation_time: float | None = None,
46
+ base_node_observation_time_property: str | None = None,
47
47
  random_seed: Any | None = None,
48
48
  smoothing_rate: float = 0.0,
49
49
  smoothing_window: int = 0,
50
- time_node_property: str | None = None,
50
+ event_node_time_property: str | None = None,
51
51
  job_id: str | None = None,
52
52
  ) -> FastPathMutateResult:
53
53
  """
@@ -63,31 +63,31 @@ class FastPathEndpoints(ABC):
63
63
  Node label marking the event nodes linked to base nodes.
64
64
  mutate_property
65
65
  Name of the node property to store the results in.
66
- dimension
67
- Output dimensionality of the embeddings.
68
- max_elapsed_time
69
- Maximum age of events (relative to the output time) that are processed.
70
- num_elapsed_times
66
+ embedding_dimension
67
+ Output dimensionality of the embeddings
68
+ lookback_horizon
69
+ Maximum age of events (relative to the observation time) that are processed.
70
+ num_time_anchors
71
71
  Number of grid points used to discretize elapsed time.
72
- categorical_event_properties
72
+ event_node_categorical_properties
73
73
  Event node properties holding categorical values.
74
74
  relationship_types
75
75
  Filter the graph using the given relationship types. Relationships with any of the given types will be included.
76
76
  context_node_label
77
77
  Optional node label for context nodes describing events.
78
- decay_factor
78
+ decay_rate
79
79
  Controls how quickly the influence of older events decays.
80
- event_features
80
+ event_node_feature_vector_property
81
81
  Name of the vector property on event nodes holding numerical features.
82
82
  first_relationship_type
83
83
  Relationship type connecting base nodes to the first event in a chain.
84
- ignored_event_category
84
+ event_node_ignored_category
85
85
  Event category value treated as missing/ignored.
86
86
  next_relationship_type
87
87
  Relationship type ordering sequential events in a chain.
88
- output_time
88
+ observation_time
89
89
  Single fixed timestamp the embeddings are produced for.
90
- output_time_property
90
+ base_node_observation_time_property
91
91
  Base node property giving a per-node output timestamp.
92
92
  random_seed
93
93
  Seed for reproducible random vector generation.
@@ -95,7 +95,7 @@ class FastPathEndpoints(ABC):
95
95
  Controls how event embedding similarity decays with time distance.
96
96
  smoothing_window
97
97
  Window size for aggregating embeddings across nearby grid times.
98
- time_node_property
98
+ event_node_time_property
99
99
  Numeric event node property holding the event timestamp.
100
100
  job_id
101
101
  Identifier for the computation.
@@ -112,24 +112,24 @@ class FastPathEndpoints(ABC):
112
112
  G: Graph,
113
113
  base_node_label: str,
114
114
  event_node_label: str,
115
- dimension: int,
116
- max_elapsed_time: int,
117
- num_elapsed_times: int,
115
+ embedding_dimension: int,
116
+ lookback_horizon: int,
117
+ num_time_anchors: int,
118
118
  *,
119
- categorical_event_properties: list[str] = [],
119
+ event_node_categorical_properties: list[str] = [],
120
120
  relationship_types: list[str] = ALL_TYPES,
121
121
  context_node_label: str | None = None,
122
- decay_factor: float = 1.0,
123
- event_features: str | None = None,
122
+ decay_rate: float = 1.0,
123
+ event_node_feature_vector_property: str | None = None,
124
124
  first_relationship_type: str | None = None,
125
- ignored_event_category: int = -1,
125
+ event_node_ignored_category: int = -1,
126
126
  next_relationship_type: str | None = None,
127
- output_time: float | None = None,
128
- output_time_property: str | None = None,
127
+ observation_time: float | None = None,
128
+ base_node_observation_time_property: str | None = None,
129
129
  random_seed: Any | None = None,
130
130
  smoothing_rate: float = 0.0,
131
131
  smoothing_window: int = 0,
132
- time_node_property: str | None = None,
132
+ event_node_time_property: str | None = None,
133
133
  job_id: str | None = None,
134
134
  ) -> DataFrame:
135
135
  """
@@ -143,31 +143,31 @@ class FastPathEndpoints(ABC):
143
143
  Node label identifying the nodes to compute embeddings for.
144
144
  event_node_label
145
145
  Node label marking the event nodes linked to base nodes.
146
- dimension
147
- Output dimensionality of the embeddings.
148
- max_elapsed_time
149
- Maximum age of events (relative to the output time) that are processed.
150
- num_elapsed_times
146
+ embedding_dimension
147
+ Output dimensionality of the embeddings
148
+ lookback_horizon
149
+ Maximum age of events (relative to the observation time) that are processed.
150
+ num_time_anchors
151
151
  Number of grid points used to discretize elapsed time.
152
- categorical_event_properties
152
+ event_node_categorical_properties
153
153
  Event node properties holding categorical values.
154
154
  relationship_types
155
155
  Filter the graph using the given relationship types. Relationships with any of the given types will be included.
156
156
  context_node_label
157
157
  Optional node label for context nodes describing events.
158
- decay_factor
158
+ decay_rate
159
159
  Controls how quickly the influence of older events decays.
160
- event_features
160
+ event_node_feature_vector_property
161
161
  Name of the vector property on event nodes holding numerical features.
162
162
  first_relationship_type
163
163
  Relationship type connecting base nodes to the first event in a chain.
164
- ignored_event_category
164
+ event_node_ignored_category
165
165
  Event category value treated as missing/ignored.
166
166
  next_relationship_type
167
167
  Relationship type ordering sequential events in a chain.
168
- output_time
168
+ observation_time
169
169
  Single fixed timestamp the embeddings are produced for.
170
- output_time_property
170
+ base_node_observation_time_property
171
171
  Base node property giving a per-node output timestamp.
172
172
  random_seed
173
173
  Seed for reproducible random vector generation.
@@ -175,7 +175,7 @@ class FastPathEndpoints(ABC):
175
175
  Controls how event embedding similarity decays with time distance.
176
176
  smoothing_window
177
177
  Window size for aggregating embeddings across nearby grid times.
178
- time_node_property
178
+ event_node_time_property
179
179
  Numeric event node property holding the event timestamp.
180
180
  job_id
181
181
  Identifier for the computation.
@@ -193,24 +193,24 @@ class FastPathEndpoints(ABC):
193
193
  base_node_label: str,
194
194
  event_node_label: str,
195
195
  write_property: str,
196
- dimension: int,
197
- max_elapsed_time: int,
198
- num_elapsed_times: int,
196
+ embedding_dimension: int,
197
+ lookback_horizon: int,
198
+ num_time_anchors: int,
199
199
  *,
200
- categorical_event_properties: list[str] = [],
200
+ event_node_categorical_properties: list[str] = [],
201
201
  relationship_types: list[str] = ALL_TYPES,
202
202
  context_node_label: str | None = None,
203
- decay_factor: float = 1.0,
204
- event_features: str | None = None,
203
+ decay_rate: float = 1.0,
204
+ event_node_feature_vector_property: str | None = None,
205
205
  first_relationship_type: str | None = None,
206
- ignored_event_category: int = -1,
206
+ event_node_ignored_category: int = -1,
207
207
  next_relationship_type: str | None = None,
208
- output_time: float | None = None,
209
- output_time_property: str | None = None,
208
+ observation_time: float | None = None,
209
+ base_node_observation_time_property: str | None = None,
210
210
  random_seed: Any | None = None,
211
211
  smoothing_rate: float = 0.0,
212
212
  smoothing_window: int = 0,
213
- time_node_property: str | None = None,
213
+ event_node_time_property: str | None = None,
214
214
  write_concurrency: int | None = None,
215
215
  job_id: str | None = None,
216
216
  ) -> FastPathWriteResult:
@@ -227,31 +227,31 @@ class FastPathEndpoints(ABC):
227
227
  Node label marking the event nodes linked to base nodes.
228
228
  write_property
229
229
  Name of the node property to store the results in.
230
- dimension
231
- Output dimensionality of the embeddings.
232
- max_elapsed_time
233
- Maximum age of events (relative to the output time) that are processed.
234
- num_elapsed_times
230
+ embedding_dimension
231
+ Output dimensionality of the embeddings
232
+ lookback_horizon
233
+ Maximum age of events (relative to the observation time) that are processed.
234
+ num_time_anchors
235
235
  Number of grid points used to discretize elapsed time.
236
- categorical_event_properties
236
+ event_node_categorical_properties
237
237
  Event node properties holding categorical values.
238
238
  relationship_types
239
239
  Filter the graph using the given relationship types. Relationships with any of the given types will be included.
240
240
  context_node_label
241
241
  Optional node label for context nodes describing events.
242
- decay_factor
242
+ decay_rate
243
243
  Controls how quickly the influence of older events decays.
244
- event_features
244
+ event_node_feature_vector_property
245
245
  Name of the vector property on event nodes holding numerical features.
246
246
  first_relationship_type
247
247
  Relationship type connecting base nodes to the first event in a chain.
248
- ignored_event_category
248
+ event_node_ignored_category
249
249
  Event category value treated as missing/ignored.
250
250
  next_relationship_type
251
251
  Relationship type ordering sequential events in a chain.
252
- output_time
252
+ observation_time
253
253
  Single fixed timestamp the embeddings are produced for.
254
- output_time_property
254
+ base_node_observation_time_property
255
255
  Base node property giving a per-node output timestamp.
256
256
  random_seed
257
257
  Seed for reproducible random vector generation.
@@ -259,7 +259,7 @@ class FastPathEndpoints(ABC):
259
259
  Controls how event embedding similarity decays with time distance.
260
260
  smoothing_window
261
261
  Window size for aggregating embeddings across nearby grid times.
262
- time_node_property
262
+ event_node_time_property
263
263
  Numeric event node property holding the event timestamp.
264
264
  write_concurrency
265
265
  Number of concurrent threads to use for writing.
@@ -285,5 +285,5 @@ class FastPathWriteResult(BaseResult):
285
285
  pre_processing_millis: int
286
286
  compute_millis: int = Field(alias="predict_ms")
287
287
  write_millis: int
288
- node_properties_written: int = Field(alias="propertiesWritten")
288
+ node_properties_written: int
289
289
  configuration: dict[str, Any]
@@ -43,7 +43,7 @@ class FastRPEndpoints(ABC):
43
43
  mutate_property
44
44
  Name of the node property to store the results in.
45
45
  embedding_dimension
46
- The dimension of the generated embeddings
46
+ Output dimensionality of the embeddings
47
47
  iteration_weights
48
48
  Weights for each iteration. Controls the influence of each iteration on the final embedding.
49
49
  normalization_strength
@@ -108,7 +108,7 @@ class FastRPEndpoints(ABC):
108
108
  G
109
109
  Graph object to use
110
110
  embedding_dimension
111
- The dimension of the generated embeddings
111
+ Output dimensionality of the embeddings
112
112
  iteration_weights
113
113
  Weights for each iteration. Controls the influence of each iteration on the final embedding.
114
114
  normalization_strength
@@ -173,7 +173,7 @@ class FastRPEndpoints(ABC):
173
173
  G
174
174
  Graph object to use
175
175
  embedding_dimension
176
- The dimension of the generated embeddings
176
+ Output dimensionality of the embeddings
177
177
  iteration_weights
178
178
  Weights for each iteration. Controls the influence of each iteration on the final embedding.
179
179
  normalization_strength
@@ -242,7 +242,7 @@ class FastRPEndpoints(ABC):
242
242
  write_property
243
243
  Name of the node property to store the results in.
244
244
  embedding_dimension
245
- The dimension of the generated embeddings
245
+ Output dimensionality of the embeddings
246
246
  iteration_weights
247
247
  Weights for each iteration. Controls the influence of each iteration on the final embedding.
248
248
  normalization_strength
@@ -303,7 +303,7 @@ class FastRPEndpoints(ABC):
303
303
  G
304
304
  Graph object to use or a dictionary representing the graph dimensions.
305
305
  embedding_dimension
306
- The dimension of the generated embeddings
306
+ Output dimensionality of the embeddings
307
307
  iteration_weights
308
308
  Weights for each iteration. Controls the influence of each iteration on the final embedding.
309
309
  normalization_strength
@@ -53,7 +53,7 @@ class GraphSageEndpoints(GraphSagePredictEndpoints):
53
53
  negative_sample_weight
54
54
  Weight of negative samples in the loss function
55
55
  embedding_dimension
56
- The dimension of the generated embeddings
56
+ Output dimensionality of the embeddings
57
57
  tolerance
58
58
  Minimum change in loss between iterations for early stopping an epoch.
59
59
  learning_rate
@@ -96,7 +96,7 @@ class GraphSageTrainEndpoints(ABC):
96
96
  negative_sample_weight
97
97
  Weight of negative samples in the loss function
98
98
  embedding_dimension
99
- The dimension of the generated embeddings
99
+ Output dimensionality of the embeddings
100
100
  tolerance
101
101
  Minimum change in loss between iterations for early stopping an epoch.
102
102
  learning_rate
@@ -57,7 +57,7 @@ class Node2VecEndpoints(ABC):
57
57
  positive_sampling_factor
58
58
  Factor to multiply positive sampling weights
59
59
  embedding_dimension
60
- The dimension of the generated embeddings
60
+ Output dimensionality of the embeddings
61
61
  embedding_initializer
62
62
  Strategy for initializing node embeddings. Either "UNIFORM" or "NORMALIZED"
63
63
  initial_learning_rate
@@ -145,7 +145,7 @@ class Node2VecEndpoints(ABC):
145
145
  positive_sampling_factor
146
146
  Factor to multiply positive sampling weights
147
147
  embedding_dimension
148
- The dimension of the generated embeddings
148
+ Output dimensionality of the embeddings
149
149
  embedding_initializer
150
150
  Strategy for initializing node embeddings. Either "UNIFORM" or "NORMALIZED"
151
151
  initial_learning_rate
@@ -237,7 +237,7 @@ class Node2VecEndpoints(ABC):
237
237
  positive_sampling_factor
238
238
  Factor to multiply positive sampling weights
239
239
  embedding_dimension
240
- The dimension of the generated embeddings
240
+ Output dimensionality of the embeddings
241
241
  embedding_initializer
242
242
  Strategy for initializing node embeddings. Either "UNIFORM" or "NORMALIZED"
243
243
  initial_learning_rate
@@ -321,7 +321,7 @@ class Node2VecEndpoints(ABC):
321
321
  positive_sampling_factor
322
322
  Factor to multiply positive sampling weights
323
323
  embedding_dimension
324
- The dimension of the generated embeddings
324
+ Output dimensionality of the embeddings
325
325
  embedding_initializer
326
326
  Strategy for initializing node embeddings. Either "UNIFORM" or "NORMALIZED"
327
327
  initial_learning_rate
@@ -84,7 +84,7 @@ class CatalogArrowEndpoints(CatalogEndpoints):
84
84
  relationships: DataFrame | typing.List[DataFrame] | None = None,
85
85
  concurrency: int | None = None,
86
86
  undirected_relationship_types: typing.List[str] | None = None,
87
- inverse_index_relationship_types: typing.List[str] | None = None,
87
+ inverse_indexed_relationship_types: typing.List[str] | None = None,
88
88
  batch_size: int = 100000,
89
89
  overwrite: bool = False,
90
90
  ) -> Graph:
@@ -103,7 +103,7 @@ class CatalogArrowEndpoints(CatalogEndpoints):
103
103
  graph_name,
104
104
  concurrency,
105
105
  undirected_relationship_types,
106
- inverse_index_relationship_types,
106
+ inverse_indexed_relationship_types,
107
107
  batch_size,
108
108
  self._show_progress,
109
109
  )
@@ -122,12 +122,19 @@ class ArticulationPointsArrowEndpoints(ArticulationPointsEndpoints):
122
122
  concurrency: int | None = None,
123
123
  job_id: str | None = None,
124
124
  ) -> DataFrame:
125
- raise NotImplementedError(
126
- "Stream mode is not supported for ArticulationPoints arrow endpoints. "
127
- "The result columns cannot be preserved with the current implementation. "
128
- "Use cypher endpoints for stream functionality."
125
+ config = self._node_property_endpoints.create_base_config(
126
+ G,
127
+ concurrency=concurrency,
128
+ job_id=job_id,
129
+ log_progress=log_progress,
130
+ node_labels=node_labels,
131
+ relationship_types=relationship_types,
132
+ sudo=sudo,
133
+ username=username,
129
134
  )
130
135
 
136
+ return self._node_property_endpoints.run_job_and_stream("v2/centrality.articulationPoints", G, config)
137
+
131
138
  def write(
132
139
  self,
133
140
  G: Graph,
@@ -118,8 +118,8 @@ class EndpointsHelperBase:
118
118
 
119
119
  if relationship_type_overwrite:
120
120
  computation_result["relationshipsWritten"] = write_result.written_relationships
121
- if property_overwrites:
122
- computation_result["propertiesWritten"] = write_result.written_node_properties
121
+ if property_overwrites and not relationship_type_overwrite:
122
+ computation_result["nodePropertiesWritten"] = write_result.written_node_properties
123
123
 
124
124
  return computation_result
125
125