Skip to content

Commit 45356dd

Browse files
HOTFIX: revision to prior package change (#3276)
1 parent bf54862 commit 45356dd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/calitp-data-infra/calitp_data_infra/auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def get_secret_by_name(
1010
client=secretmanager.SecretManagerServiceClient(),
1111
) -> str:
1212
version = f"{project}/secrets/{name}/versions/latest"
13-
response = client.access_secret_version(version)
13+
response = client.access_secret_version(name=version)
1414
return response.payload.data.decode("UTF-8").strip()
1515

1616

@@ -24,7 +24,7 @@ def get_secrets_by_label(
2424
for secret in client.list_secrets(parent=project):
2525
if label in secret.labels:
2626
version = f"{secret.name}/versions/latest"
27-
response = client.access_secret_version(version)
27+
response = client.access_secret_version(name=version)
2828
secret_values[secret.name.split("/")[-1]] = response.payload.data.decode(
2929
"UTF-8"
3030
).strip()

packages/calitp-data-infra/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "calitp-data-infra"
3-
version = "2024.2.12"
3+
version = "2024.2.12rev1"
44
description = "Shared code for developing data pipelines that process Cal-ITP data."
55
authors = ["Andrew Vaccaro <andrew.v@jarv.us>"]
66

0 commit comments

Comments
 (0)