reportcompiler.plugins.data_fetchers.constant
¶
constant.py
This module includes the data fetcher using a constant list (given as a parameter).
Classes¶
ConstantFetcher
: Constant data fetcher.
-
class
reportcompiler.plugins.data_fetchers.constant.
ConstantFetcher
¶ Constant data fetcher.
Inheritance
-
fetch
(doc_param, fetcher_info, metadata)¶ Fetches the necessary data for the current fragment.
Parameters: - doc_param (OrderedDict) – Document variable
- fetcher_info (dict) – Information about the current fetcher (multiple can be used for fragment)
- metadata (dict) – Document metadata (overriden by fragment metadata when specified)
Returns: Dataframe (or list of dataframes)
Return type: pandas.DataFrame
-