Skip to content

Commit

Permalink
Merge branch 'main' into soren-bump_package_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
SorenSpicknall authored Feb 12, 2024
2 parents c04a2e4 + 45356dd commit 24c0021
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/calitp-data-infra/calitp_data_infra/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def get_secret_by_name(
client=secretmanager.SecretManagerServiceClient(),
) -> str:
version = f"{project}/secrets/{name}/versions/latest"
response = client.access_secret_version(version)
response = client.access_secret_version(name=version)
return response.payload.data.decode("UTF-8").strip()


Expand All @@ -24,7 +24,7 @@ def get_secrets_by_label(
for secret in client.list_secrets(parent=project):
if label in secret.labels:
version = f"{secret.name}/versions/latest"
response = client.access_secret_version(version)
response = client.access_secret_version(name=version)
secret_values[secret.name.split("/")[-1]] = response.payload.data.decode(
"UTF-8"
).strip()
Expand Down
2 changes: 1 addition & 1 deletion packages/calitp-data-infra/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "calitp-data-infra"
version = "2024.2.12"
version = "2024.2.12rev1"
description = "Shared code for developing data pipelines that process Cal-ITP data."
authors = ["Andrew Vaccaro <[email protected]>"]

Expand Down

0 comments on commit 24c0021

Please sign in to comment.