Module pipelines.rj_escritorio.bot_sistemas.tasks

Tasks for the Systems Bot flow.

Functions

def build_message(data: list) ‑> str

Builds the message

def get_data(sheet_id: str, sheet_name: str) ‑> pandas.core.frame.DataFrame

Fetches data from Google Drive

def preprocess_data(dataframe: pandas.core.frame.DataFrame) ‑> pandas.core.frame.DataFrame

Preprocesses data

def split_and_send_messages(token: str, group_id: str, message: str) ‑> None

Sends the alerts to the Telegram group.