Skip to content
Snippets Groups Projects
Commit 56acb4d6 authored by Stefano Borini's avatar Stefano Borini
Browse files

Fixed error

parent 65755be4
No related branches found
No related tags found
1 merge request!170Developer documentation for the development of plugins
...@@ -105,13 +105,13 @@ The class must be derived from ``BaseDataSource``), and reimplement ...@@ -105,13 +105,13 @@ The class must be derived from ``BaseDataSource``), and reimplement
the appropriate methods: the appropriate methods:
- ``run()``: where the actual computation takes place, given the - ``run()``: where the actual computation takes place, given the
configuration options specified in the model (which is received as an configuration options specified in the model (which is received as an
argument). It is strongly advised that the ``run()`` method is stateless. argument). It is strongly advised that the ``run()`` method is stateless.
- ``slots()``: must return a 2-tuple of tuples. Each tuple contains instances - ``slots()``: must return a 2-tuple of tuples. Each tuple contains instances
of the ``Slot`` class. Slots are the input and output entities of the of the ``Slot`` class. Slots are the input and output entities of the
data source. Given that this information depends on the data source. Given that this information depends on the
configuration options, ``slots()`` accepts the model and must return the configuration options, ``slots()`` accepts the model and must return the
appropriate values according to the model options. appropriate values according to the model options.
The MCO class The MCO class
^^^^^^^^^^^^^ ^^^^^^^^^^^^^
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment