├── .github └── workflows │ ├── publish.yml │ └── test.yml ├── .gitignore ├── LICENSE ├── README.md ├── dbt_invoke ├── __init__.py ├── internal │ ├── __init__.py │ ├── _utils.py │ └── _version.py ├── main.py └── properties.py ├── requirements ├── requirements_dbt_1.5.x.txt └── requirements_dbt_1.6.x.txt ├── setup.py └── tests ├── data_files ├── customers.csv ├── items.csv └── orders.csv ├── dbt_project.yml ├── test.py ├── test_config.yml ├── test_dbt_project ├── .gitignore ├── README.md ├── analyses │ └── revenue_by_daily_cohort.sql ├── data │ └── items.csv ├── dbt_project.yml ├── macros │ └── .gitkeep ├── models │ ├── marts │ │ └── core │ │ │ ├── customers.sql │ │ │ └── orders.sql │ └── sources.yml ├── profiles.yml ├── selectors.yml └── snapshots │ └── items_snapshot.sql ├── test_properties.py ├── test_property_files ├── customers_comment.yml ├── customers_keep_empty_line.yml ├── customers_keep_list_format.yml ├── customers_long_string.yml ├── customers_long_string_expected.yml ├── customers_multiline.yml ├── customers_multiline_missing_column.yml ├── customers_multiline_pipe.yml ├── customers_multiline_quotes.yml ├── customers_multiline_quotes_expected.yml ├── customers_preserve_quotes.yml ├── customers_preserve_quotes_expected.yml └── migration │ ├── expected │ ├── analyses │ │ └── revenue_by_daily_cohort.yml │ ├── data │ │ └── items.yml │ ├── models │ │ ├── marts │ │ │ └── core │ │ │ │ ├── customers.yml │ │ │ │ └── orders.yml │ │ └── migration_leftover_comment.yml │ └── snapshots │ │ └── items_snapshot.yml │ ├── migration_leftover_comment.yml │ └── migration_no_leftover_comment.yml └── test_utils.py /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/README.md -------------------------------------------------------------------------------- /dbt_invoke/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dbt_invoke/internal/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dbt_invoke/internal/_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/dbt_invoke/internal/_utils.py -------------------------------------------------------------------------------- /dbt_invoke/internal/_version.py: -------------------------------------------------------------------------------- 1 | __version__ = '1.0.0' 2 | -------------------------------------------------------------------------------- /dbt_invoke/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/dbt_invoke/main.py -------------------------------------------------------------------------------- /dbt_invoke/properties.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/dbt_invoke/properties.py -------------------------------------------------------------------------------- /requirements/requirements_dbt_1.5.x.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/requirements/requirements_dbt_1.5.x.txt -------------------------------------------------------------------------------- /requirements/requirements_dbt_1.6.x.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/requirements/requirements_dbt_1.6.x.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/setup.py -------------------------------------------------------------------------------- /tests/data_files/customers.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/data_files/customers.csv -------------------------------------------------------------------------------- /tests/data_files/items.csv: -------------------------------------------------------------------------------- 1 | item_id,price,updated_at 2 | 1,1,2023-01-01 3 | -------------------------------------------------------------------------------- /tests/data_files/orders.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/data_files/orders.csv -------------------------------------------------------------------------------- /tests/dbt_project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/dbt_project.yml -------------------------------------------------------------------------------- /tests/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test.py -------------------------------------------------------------------------------- /tests/test_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_config.yml -------------------------------------------------------------------------------- /tests/test_dbt_project/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | target/ 3 | dbt_modules/ 4 | logs/ 5 | -------------------------------------------------------------------------------- /tests/test_dbt_project/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_dbt_project/README.md -------------------------------------------------------------------------------- /tests/test_dbt_project/analyses/revenue_by_daily_cohort.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_dbt_project/analyses/revenue_by_daily_cohort.sql -------------------------------------------------------------------------------- /tests/test_dbt_project/data/items.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_dbt_project/data/items.csv -------------------------------------------------------------------------------- /tests/test_dbt_project/dbt_project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_dbt_project/dbt_project.yml -------------------------------------------------------------------------------- /tests/test_dbt_project/macros/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_dbt_project/models/marts/core/customers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_dbt_project/models/marts/core/customers.sql -------------------------------------------------------------------------------- /tests/test_dbt_project/models/marts/core/orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_dbt_project/models/marts/core/orders.sql -------------------------------------------------------------------------------- /tests/test_dbt_project/models/sources.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_dbt_project/models/sources.yml -------------------------------------------------------------------------------- /tests/test_dbt_project/profiles.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_dbt_project/profiles.yml -------------------------------------------------------------------------------- /tests/test_dbt_project/selectors.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_dbt_project/selectors.yml -------------------------------------------------------------------------------- /tests/test_dbt_project/snapshots/items_snapshot.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_dbt_project/snapshots/items_snapshot.sql -------------------------------------------------------------------------------- /tests/test_properties.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_properties.py -------------------------------------------------------------------------------- /tests/test_property_files/customers_comment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/customers_comment.yml -------------------------------------------------------------------------------- /tests/test_property_files/customers_keep_empty_line.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/customers_keep_empty_line.yml -------------------------------------------------------------------------------- /tests/test_property_files/customers_keep_list_format.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/customers_keep_list_format.yml -------------------------------------------------------------------------------- /tests/test_property_files/customers_long_string.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/customers_long_string.yml -------------------------------------------------------------------------------- /tests/test_property_files/customers_long_string_expected.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/customers_long_string_expected.yml -------------------------------------------------------------------------------- /tests/test_property_files/customers_multiline.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/customers_multiline.yml -------------------------------------------------------------------------------- /tests/test_property_files/customers_multiline_missing_column.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/customers_multiline_missing_column.yml -------------------------------------------------------------------------------- /tests/test_property_files/customers_multiline_pipe.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/customers_multiline_pipe.yml -------------------------------------------------------------------------------- /tests/test_property_files/customers_multiline_quotes.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/customers_multiline_quotes.yml -------------------------------------------------------------------------------- /tests/test_property_files/customers_multiline_quotes_expected.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/customers_multiline_quotes_expected.yml -------------------------------------------------------------------------------- /tests/test_property_files/customers_preserve_quotes.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/customers_preserve_quotes.yml -------------------------------------------------------------------------------- /tests/test_property_files/customers_preserve_quotes_expected.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/customers_preserve_quotes_expected.yml -------------------------------------------------------------------------------- /tests/test_property_files/migration/expected/analyses/revenue_by_daily_cohort.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/migration/expected/analyses/revenue_by_daily_cohort.yml -------------------------------------------------------------------------------- /tests/test_property_files/migration/expected/data/items.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/migration/expected/data/items.yml -------------------------------------------------------------------------------- /tests/test_property_files/migration/expected/models/marts/core/customers.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/migration/expected/models/marts/core/customers.yml -------------------------------------------------------------------------------- /tests/test_property_files/migration/expected/models/marts/core/orders.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/migration/expected/models/marts/core/orders.yml -------------------------------------------------------------------------------- /tests/test_property_files/migration/expected/models/migration_leftover_comment.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | # Leftover comment 3 | -------------------------------------------------------------------------------- /tests/test_property_files/migration/expected/snapshots/items_snapshot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/migration/expected/snapshots/items_snapshot.yml -------------------------------------------------------------------------------- /tests/test_property_files/migration/migration_leftover_comment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/migration/migration_leftover_comment.yml -------------------------------------------------------------------------------- /tests/test_property_files/migration/migration_no_leftover_comment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_property_files/migration/migration_no_leftover_comment.yml -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dashlane/dbt-invoke/HEAD/tests/test_utils.py --------------------------------------------------------------------------------