def METHOD_NAME(
    config_params: argparse.ArgumentParser
) -> job_config.JobConfig:
  """Load the datasource and configurations definition."""
  if config_params.generate_job_config:
    _generate_job_config_from_datasource(config_params)
  return _load_job_config_from_ini(config_params.job_config)