Paramiterator¶
flowtask.components.ParamIterator
¶
ParamIterator
¶
Bases: IteratorBase
ParamIterator.
Overview
This component iterates over a set of parameters and executes a job for each set of parameters.
.. table:: Properties :widths: auto
+--------------+----------+-----------+-------------------------------------------------------+ | Name | Required | Summary | +--------------+----------+-----------+-------------------------------------------------------+ | init | Yes | This attribute is to initialize the component methods | +--------------+----------+-----------+-------------------------------------------------------+ | start | Yes | We start by validating if the file exists, then the function | | | | to get the data is started | +--------------+----------+-----------+-------------------------------------------------------+ | close | Yes | This attribute allows me to close the process | +--------------+----------+-----------+-------------------------------------------------------+ | create_job | Yes | This metod create the job component | +--------------+----------+-----------+-------------------------------------------------------+ | run | Yes | This method creates the job component by assigning parameters | | | | to it | +--------------+----------+-----------+-------------------------------------------------------+
Return the list of arbitrary days
Example:
```yaml
ParamIterator:
params:
formid:
- 2552
- 2567
- 2569
```