@@ -139,7 +139,7 @@ def call(
139139
140140 Args:
141141 procedure: A string representing the name of the procedure in the
142- format `query_module.procedure`.
142+ format `` query_module.procedure` `.
143143 arguments: A string representing the arguments of the procedure in
144144 text format.
145145 node_labels: Either a string, which is then used as the label for all nodes, or
@@ -150,18 +150,30 @@ def call(
150150 subgraph_path: Optional way to define the subgraph via a Cypher MATCH clause.
151151
152152 Returns:
153- A `DeclarativeBase` instance for constructing queries.
153+ A `` DeclarativeBase` ` instance for constructing queries.
154154
155155 Examples:
156- Python: `call('export_util.json', '/home/user', "LABEL", ["TYPE1", "TYPE2"]).execute()`
157- Cypher: `MATCH p=(a)-[:TYPE1 | :TYPE2]->(b) WHERE (a:LABEL) AND (b:LABEL)
158- WITH project(p) AS graph CALL export_util.json(graph, '/home/user')`
156+ Python:
157+ ```python
158+ call('export_util.json', '/home/user', "LABEL", ["TYPE1", "TYPE2"]).execute()
159+ ```
160+ Cypher:
161+ ```cypher
162+ MATCH p=(a)-[:TYPE1 | :TYPE2]->(b) WHERE (a:LABEL) AND (b:LABEL)
163+ WITH project(p) AS graph CALL export_util.json(graph, '/home/user')
164+ ```
159165
160166 or
161167
162- Python: `call('export_util.json', '/home/user', subgraph_path="(:LABEL)-[:TYPE]->(:LABEL)").execute()`
163- Cypher: `MATCH p=(:LABEL)-[:TYPE1]->(:LABEL) WITH project(p) AS graph
164- CALL export_util.json(graph, '/home/user')`
168+ Python:
169+ ```python
170+ call('export_util.json', '/home/user', subgraph_path="(:LABEL)-[:TYPE]->(:LABEL)").execute()
171+ ```
172+ Cypher:
173+ ```cypher
174+ MATCH p=(:LABEL)-[:TYPE1]->(:LABEL) WITH project(p) AS graph
175+ CALL export_util.json(graph, '/home/user')
176+ ```
165177 """
166178
167179 if not (node_labels is None and relationship_types is None ):
0 commit comments