File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
PetAdoptions/petadoptionshistory-py Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import logging
2
2
import os
3
- import psycopg2
3
+ import psycopg
4
4
import config
5
5
import repository
6
6
from flask import Flask , jsonify
12
12
logger = logging .getLogger ()
13
13
cfg = config .fetch_config ()
14
14
conn_params = config .get_rds_connection_parameters (cfg ['rds_secret_arn' ], cfg ['region' ])
15
- db = psycopg2 .connect (** conn_params )
15
+ db = psycopg .connect (** conn_params )
16
16
17
17
@app .route ('/petadoptionshistory/api/home/transactions' , methods = ['GET' ])
18
18
def transactions_get ():
Original file line number Diff line number Diff line change 1
1
Flask == 2.0.2
2
- boto3 == 1.20.21
3
- psycopg2 == 2.9.3
2
+ boto3 == 1.37.10
3
+ psycopg == 3.2.5
4
4
opentelemetry-distro == 0.32b0
5
5
opentelemetry-exporter-otlp == 1.11.1
6
6
opentelemetry-exporter-otlp-proto-grpc == 1.11.1
You can’t perform that action at this time.
0 commit comments