summaryrefslogtreecommitdiff
path: root/src/buildstream/source.py
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-07-12 12:20:29 +0100
committerBenjamin Schubert <ben.c.schubert@gmail.com>2019-07-12 13:31:54 +0100
commitc5491d99719aa58170b8fdd49d4201225a1c96ee (patch)
tree50144fb5d3b60600f120cb2a69ed632c053e8b8a /src/buildstream/source.py
parent012db3524c62426ca6e9882ea2cc9cb449347d95 (diff)
downloadbuildstream-bschubert/node-api-split.tar.gz
plugins: Update public documentation to be correct with the new Nodesbschubert/node-api-split
We need to update every place where we were passing a yaml 'dict' to now pass a 'MappingNode'
Diffstat (limited to 'src/buildstream/source.py')
-rw-r--r--src/buildstream/source.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildstream/source.py b/src/buildstream/source.py
index 43957378d..59b6d3644 100644
--- a/src/buildstream/source.py
+++ b/src/buildstream/source.py
@@ -354,7 +354,7 @@ class Source(Plugin):
"""Loads the *ref* for this Source from the specified *node*.
Args:
- node (dict): The YAML node to load the ref from
+ node (:class:`MappingNode <buildstream.node.MappingNode>`): The YAML node to load the ref from
.. note::
@@ -391,8 +391,8 @@ class Source(Plugin):
Args:
ref (simple object): The internal source reference to set, or ``None``
- node (dict): The same dictionary which was previously passed
- to :func:`Plugin.configure() <buildstream.plugin.Plugin.configure>`
+ node (:class:`MappingNode <buildstream.node.MappingNode>`): The same dictionary which was previously passed
+ to :func:`Plugin.configure() <buildstream.plugin.Plugin.configure>`
See :func:`Source.get_ref() <buildstream.source.Source.get_ref>`
for a discussion on the *ref* parameter.