code: def main():
      args = parse_args()
      print(about)
      configs = Configs.load_configs(args.config_file)
      if args.input_file is None:
          if configs.db is None:
              logging.error(
                  "No input file provided, so I assume you want to connect to a db, wait... but you also forget to "
                  "provide db credentials in the configs yaml file...! "
              )
              exit(1)
          engine = get_engine(configs)
          if "output_schema" in configs.db:
              output_schema = configs.db["output_schema"]
          else:
              output_schema = "public"
          if "output_table" in configs.db:
              output_table = configs.db["output_table"]
          else:
              output_table = "aequitas_group"
  
          create_tables = "append"
          if args.create_tables:
              create_tables = "replace"
          input_query = configs.db["input_query"]
          df = get_db_data(engine, input_query)
          group_value_df, report = run(
              df, configs=configs, preprocessed=False
          )
          push_todb(
              engine,
              output_schema,
              output_table,
              create_tables,
              group_value_df,
          )
      else:
          df = get_csv_data(args.input_file)
          group_value_df, report = run(
              df, configs=configs, preprocessed=False
          )
          push_tocsv(args.input_file, group_value_df)
          push_topdf(args.input_file, report)
  
imports: import argparse
  import logging
  from sys import exit
  import pandas
  from aequitas.bias import Bias
  from aequitas.fairness import Fairness
  from aequitas.group import Group
  from aequitas.plotting import Plot
  from aequitas.preprocessing import preprocess_input_df
  from .utils.configs_loader import Configs
  from .utils.io import get_csv_data
  from .utils.io import get_db_data
  from .utils.io import get_engine
  from .utils.io import push_tocsv
  from .utils.io import push_todb
  from .utils.io import push_topdf
  from .utils.report import audit_report_markdown
label_desc: Use image node_id 4 for calling a global function with example usage: main() without return types