Skip to content

Commit 31f1732

Browse files
committed
m
1 parent a277bb1 commit 31f1732

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

process_report/data_tools/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def iceberg_s3_properties(self) -> dict[str, str]:
3333
return {
3434
"s3.access-key-id": self.iceberg_s3_access_key_id,
3535
"s3.secret-access-key": self.iceberg_s3_secret_access_key,
36-
"s3.endpoint": f"https://{self.iceberg_s3_endpoint}",
36+
"s3.endpoint": self.iceberg_s3_endpoint,
3737
"s3.region": self.iceberg_s3_region,
3838
}
3939

process_report/tests/unit/data_tools/test_data_tools.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33

44
from process_report.data_tools import costs
55

6-
PID = costs.invoice.PROJECT_ID_FIELD
7-
CLUSTER = costs.invoice.CLUSTER_NAME_FIELD
8-
BALANCE = costs.invoice.BALANCE_FIELD
6+
# These are the column names in the iceberg table using string literals instead of the invoice module to test column name correctness
7+
PID = "Project - Allocation ID"
8+
CLUSTER = "Cluster Name"
9+
BALANCE = "Balance"
910

1011

1112
@pytest.fixture(autouse=True)

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@ readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = [
88
"nerc-rates>=1.0.1,<2.0.0",
9-
"pandas>=3.0.0",
9+
"pandas>=3.0.0,<4.0.0",
1010
"pyarrow",
1111
"pyiceberg[pyarrow]>=0.11.0",
1212
"boto3>=1.42.6,<2.0",
1313
"jinja2",
1414
"validators",
1515
"python-dateutil",
1616
"pydantic-settings",
17-
"pyyaml>=6.0",
18-
"pre-commit>=4.5.1",
1917
]
2018

2119
[build-system]

0 commit comments

Comments
 (0)