From 6fdfdc7d0e393bc3ad5f7875eaebd3e69a5459f0 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 12 Sep 2023 15:47:11 +0200 Subject: [PATCH] Added description --- data_processor.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/data_processor.py b/data_processor.py index 7bc3dfb..04440b0 100644 --- a/data_processor.py +++ b/data_processor.py @@ -1,3 +1,13 @@ +""" +This class, DataProcessor, is responsible for interacting with a given API to fetch and process data related to databases and tables. It provides functionalities to: + +Retrieve all rows from a specified table. +Fetch all tables associated with a given database. +Extract all data from a specified database. +Fetch specific fields for a table. +Identify and retrieve 'link_row' type fields for a table and for all tables in the provided data. +Additionally, it offers a verbose mode to print detailed messages during its operations. +""" class DataProcessor: def __init__(self, api, verbose=False): self.api = api