Fix typos in Node docs.

This commit is contained in:
Syrus Akbary 2017-02-08 08:21:14 -08:00 committed by GitHub
parent e8fc58afd6
commit 8dff91d4c6

View File

@ -75,11 +75,11 @@ Accessing node types
--------------------
If we want to retrieve node instances from a ``global_id`` (scalar that identifies an instance by it's type name and id),
we can simply do ``Node.get_node_from_global_id(global_id, contet, info)``.
we can simply do ``Node.get_node_from_global_id(global_id, context, info)``.
In the case we want to restric the instnance retrieval to an specific type, we can do:
``Node.get_node_from_global_id(global_id, contet, info, only_type=Ship)``. This will raise an error
if the global_id doesn't correspond to a Ship type.
In the case we want to restrict the instnance retrieval to an specific type, we can do:
``Node.get_node_from_global_id(global_id, context, info, only_type=Ship)``. This will raise an error
if the ``global_id`` doesn't correspond to a Ship type.
Node Root field