Skip to content

Commit 32a4a13

Browse files
committed
doc: it's json-pointer, not path
1 parent 1b014f3 commit 32a4a13

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

graphtik/modifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ class _Modifier(str):
226226
227227
:param kw:
228228
any extra attributes not needed by execution machinery
229-
such as the ``jsonpath``, which is used only by :term:`accessor`.
229+
such as the :term:`jsonp`, which is used only by :term:`accessor`.
230230
231231
.. Note::
232232
Factory function:func:`_modifier()` may return a plain string, if no other

graphtik/planning.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -535,10 +535,10 @@ def check_node_collision(
535535
needs = []
536536
needs_edges = []
537537
for n in operation.needs:
538-
json_path = get_jsonp(n)
538+
jsonp = get_jsonp(n)
539539
check_node_collision(n, 0, operation, "needs")
540-
if json_path:
541-
append_subdoc_chain(json_path)
540+
if jsonp:
541+
append_subdoc_chain(jsonp)
542542

543543
nkw, ekw = {"typ": 0}, {} # node, edge props
544544
if is_optional(n):
@@ -567,10 +567,10 @@ def check_node_collision(
567567
## Provides
568568
#
569569
for n in operation.provides:
570-
json_path = get_jsonp(n)
570+
jsonp = get_jsonp(n)
571571
check_node_collision(n, 0, operation, "provides")
572-
if json_path:
573-
append_subdoc_chain(json_path)
572+
if jsonp:
573+
append_subdoc_chain(jsonp)
574574

575575
nkw, ekw = {"typ": 0}, {}
576576
if is_sfx(n):

0 commit comments

Comments
 (0)