Skip to content

Commit 7065008

Browse files
fix: Updated versions for pgsql
1 parent 452acb8 commit 7065008

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/data_scripts/create_postgres_tables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from ..helpers.azure_credential_utils import get_azure_credential
1+
from azure.identity import DefaultAzureCredential
22
import psycopg2
33
from psycopg2 import sql
44

@@ -61,7 +61,7 @@ def grant_permissions(cursor, dbname, schema_name, principal_name):
6161

6262

6363
# Acquire the access token
64-
cred = get_azure_credential()
64+
cred = DefaultAzureCredential()
6565
access_token = cred.get_token("https://ossrdbms-aad.database.windows.net/.default")
6666

6767
# Combine the token with the connection string to establish the connection.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
psycopg2-binary==2.9.10
2-
azure-identity==1.19.0
3-
azure-keyvault-secrets==4.9.0
2+
azure-identity==1.23.1
3+
azure-keyvault-secrets==4.7.0

0 commit comments

Comments
 (0)