Skip to main content

This package contains all the utils and functions that are used in the DOP framework.

Project description

DOP Library

This package contains all the utils and functions that are used in the DOP framework.

run_results_to_bq

Takes a run_results.json file from either local storage or GCS and uploads it to a BigQuery table using the included run_results table schema.

It is important that the run_results table is created according to this schema. If the schema doesn't match, the insertion might fail silently.

from dop_library import run_results_to_bq

run_results_to_bq(
    run_results_path='gs://dbt-data/artifacts/run_results.csv',
    dest_dataset_id='dop_test',
    dest_table_id='run_results',
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dop_library_dinigo-0.1.1.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

dop_library_dinigo-0.1.1-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page