emarket_data_explorer.database
This module provides the database functionality.
Todo:
use data_source to dynamically update, not hardcoded “shopee”
implement write_index and read_index and List cli command in v1.5.
remove unused datatype and also move it to the datatype file v1.4.
abstract a DatabaseHandler class and rename to ShopeeDatabaseHandler in v1.4.
- class emarket_data_explorer.database.DBResponseForCSV(response: DataFrame, error: int)
this class defines the format of database response for data in CSV
- response: DataFrame
Alias for field number 0
- class emarket_data_explorer.database.DBResponseForIndex(response: List[Dict[str, Any]], error: int)
this class defines the format of database response for index in JSON