The code examples in this topic show you how to use psycopg2 with Amazon Distributed SQL.
- python version >=3.8.0 is needed
source setup.sh
# Use the account credentials dedicated for python
export CLUSTER_ENDPOINT="<your cluster endpoint>"
export REGION="<your cluster region>"
pytest test/test_example.py
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: MIT-0