Skip to content

Commit 8dff91d

Browse files
authored
Fix typos in Node docs.
1 parent e8fc58a commit 8dff91d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/relay/nodes.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ Accessing node types
7575
--------------------
7676

7777
If we want to retrieve node instances from a ``global_id`` (scalar that identifies an instance by it's type name and id),
78-
we can simply do ``Node.get_node_from_global_id(global_id, contet, info)``.
78+
we can simply do ``Node.get_node_from_global_id(global_id, context, info)``.
7979

80-
In the case we want to restric the instnance retrieval to an specific type, we can do:
81-
``Node.get_node_from_global_id(global_id, contet, info, only_type=Ship)``. This will raise an error
82-
if the global_id doesn't correspond to a Ship type.
80+
In the case we want to restrict the instnance retrieval to an specific type, we can do:
81+
``Node.get_node_from_global_id(global_id, context, info, only_type=Ship)``. This will raise an error
82+
if the ``global_id`` doesn't correspond to a Ship type.
8383

8484

8585
Node Root field

0 commit comments

Comments
 (0)