gooddata-dbt 1.65.0__tar.gz → 1.65.1.dev2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/PKG-INFO +2 -2
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/pyproject.toml +2 -2
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/dbt/metrics.py +7 -3
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/dbt_plugin.py +1 -1
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/utils.py +1 -1
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/.env.custom.dev +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/.env.dev +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/.gitignore +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/LICENSE.txt +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/Makefile +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/README.md +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/bin/gooddata-dbt +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/gooddata_example.yml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/__init__.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/_version.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/args.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/dbt/__init__.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/dbt/base.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/dbt/cloud.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/dbt/environment.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/dbt/profiles.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/dbt/tables.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/gooddata/__init__.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/gooddata/api_wrapper.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/gooddata/config.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/logger.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/main.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/src/gooddata_dbt/sdk_wrapper.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/conftest.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/gooddata_example.yml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/dbt_profiles/profiles.yml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/dbt_target/manifest.json +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/aircraft.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/aircraft_models.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/airports.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/ambient_temperature.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/carriers.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/census.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/census_by_country.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/commits.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/customer.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/eshop_customers.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/flights.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/home_rentals.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/house_property_sales_time_series.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/mall_customers.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/monthlyinventory.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/order_lines.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/orders.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/product.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/pull_requests.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/repos.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/returns.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/telco_customer_churn.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/users.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/workflow_runs.yaml +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/test_profiles.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/test_tables.py +0 -0
- {gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tox.ini +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gooddata-dbt
|
|
3
|
-
Version: 1.65.
|
|
3
|
+
Version: 1.65.1.dev2
|
|
4
4
|
Summary: dbt plugin for GoodData
|
|
5
5
|
Author-email: GoodData <support@gooddata.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -19,7 +19,7 @@ Classifier: Typing :: Typed
|
|
|
19
19
|
Requires-Python: >=3.10
|
|
20
20
|
Requires-Dist: attrs<=24.2.0,>=21.4.0
|
|
21
21
|
Requires-Dist: cattrs<=24.1.1,>=22.1.0
|
|
22
|
-
Requires-Dist: gooddata-sdk~=1.65.
|
|
22
|
+
Requires-Dist: gooddata-sdk~=1.65.1.dev2
|
|
23
23
|
Requires-Dist: pyyaml>=6.0
|
|
24
24
|
Requires-Dist: requests~=2.32.0
|
|
25
25
|
Requires-Dist: tabulate~=0.8.10
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# (C) 2025 GoodData Corporation
|
|
2
2
|
[project]
|
|
3
3
|
name = "gooddata-dbt"
|
|
4
|
-
version = "1.65.
|
|
4
|
+
version = "1.65.1.dev2"
|
|
5
5
|
description = "dbt plugin for GoodData"
|
|
6
6
|
readme = "README.md"
|
|
7
7
|
license = "MIT"
|
|
@@ -10,7 +10,7 @@ authors = [
|
|
|
10
10
|
]
|
|
11
11
|
requires-python = ">=3.10"
|
|
12
12
|
dependencies = [
|
|
13
|
-
"gooddata-sdk~=1.65.
|
|
13
|
+
"gooddata-sdk~=1.65.1.dev2",
|
|
14
14
|
"pyyaml>=6.0",
|
|
15
15
|
"attrs>=21.4.0,<=24.2.0",
|
|
16
16
|
"cattrs>=22.1.0,<=24.1.1",
|
|
@@ -86,14 +86,18 @@ class DbtModelMetrics:
|
|
|
86
86
|
if table_id is not None and table_id.id.lower() == table_name.lower():
|
|
87
87
|
attributes = dataset.attributes if dataset.attributes else []
|
|
88
88
|
facts = dataset.facts if dataset.facts else []
|
|
89
|
+
# `source_column` is optional on the SDK side — AUXILIARY
|
|
90
|
+
# datasets carry synthetic attributes/labels/facts with no
|
|
91
|
+
# physical column. Skip those entries here, since they have
|
|
92
|
+
# no source column to match against.
|
|
89
93
|
for attribute in attributes:
|
|
90
|
-
if attribute.source_column.lower() == expression_entity_cmp:
|
|
94
|
+
if attribute.source_column and attribute.source_column.lower() == expression_entity_cmp:
|
|
91
95
|
result = "label"
|
|
92
96
|
for label in attribute.labels:
|
|
93
|
-
if label.source_column.lower() == expression_entity_cmp:
|
|
97
|
+
if label.source_column and label.source_column.lower() == expression_entity_cmp:
|
|
94
98
|
result = "label"
|
|
95
99
|
for fact in facts:
|
|
96
|
-
if fact.source_column.lower() == expression_entity_cmp:
|
|
100
|
+
if fact.source_column and fact.source_column.lower() == expression_entity_cmp:
|
|
97
101
|
result = "fact"
|
|
98
102
|
for date_dataset in self.ldm.ldm.date_instances:
|
|
99
103
|
if date_dataset.id.lower() == expression_entity_cmp:
|
|
@@ -216,7 +216,7 @@ def create_localized_workspaces(
|
|
|
216
216
|
if data_product.localization is None:
|
|
217
217
|
return
|
|
218
218
|
try:
|
|
219
|
-
from deep_translator import GoogleTranslator
|
|
219
|
+
from deep_translator import GoogleTranslator # noqa: PLC0415
|
|
220
220
|
except ImportError:
|
|
221
221
|
logger.warning(
|
|
222
222
|
"create_localized_workspaces: deep_translator module not found, will not be able to localize workspaces"
|
|
@@ -28,7 +28,7 @@ def report_message_to_merge_request(token: str, merge_request_id: str, text: str
|
|
|
28
28
|
|
|
29
29
|
def report_message_to_pull_request(logger: Logger, token: str, pull_request_id: int, text: str) -> None:
|
|
30
30
|
try:
|
|
31
|
-
from github import Auth, Github
|
|
31
|
+
from github import Auth, Github # noqa: PLC0415
|
|
32
32
|
|
|
33
33
|
auth = Auth.Token(token)
|
|
34
34
|
g = Github(auth=auth)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/aircraft.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/airports.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/carriers.yaml
RENAMED
|
File without changes
|
{gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/census.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/commits.yaml
RENAMED
|
File without changes
|
{gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/customer.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/flights.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/orders.yaml
RENAMED
|
File without changes
|
{gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/product.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/repos.yaml
RENAMED
|
File without changes
|
{gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/returns.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{gooddata_dbt-1.65.0 → gooddata_dbt-1.65.1.dev2}/tests/resources/gooddata_layouts/pdm/users.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|