write_db

Attributes

db_caller

logger

Functions

write_df_to_table(df, table_name, schema_name[, dry_run])

Thin wrapper around the database caller.

Module Contents

write_db.write_df_to_table(df: pandas.DataFrame, table_name: str, schema_name: str, dry_run: bool = True)

Thin wrapper around the database caller.

Handles the dry_run flag and logging

Parameters:
write_db.db_caller
write_db.logger