reportcompiler.plugins.data_fetchers.mysql¶
mysql.py
This module includes the data fetcher using MySQL.
Classes¶
MySQLFetcher: Data fetcher for MySQL databases.
-
class
reportcompiler.plugins.data_fetchers.mysql.MySQLFetcher¶ Data fetcher for MySQL databases.
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
-