Skip to content

Commit

Permalink
Mention v2 first
Browse files Browse the repository at this point in the history
  • Loading branch information
kislyuk committed Dec 30, 2023
1 parent 201f31f commit ef6208e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ Installation
Prerequisites
-------------
* Set up an AWS
`Aurora Serverless <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html>`_ or
`Aurora Serverless v2 <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html>`_
cluster and enable Data API access for it. If you have previously set up an Aurora Serverless cluster, you can enable
Data API with the following `AWS CLI <https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html>`_
command::
`Aurora Serverless v2 <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html>`_ cluster
and enable Data API access for it
(`Aurora Serverless v1 <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html>`_ is also
supported). If you have previously set up an Aurora Serverless cluster, you can enable Data API with the following
`AWS CLI <https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html>`_ command::

aws rds modify-db-cluster --db-cluster-identifier DB_CLUSTER_NAME --enable-http-endpoint --apply-immediately

Expand Down
2 changes: 1 addition & 1 deletion test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def setUpClass(cls):
with aurora_data_api.connect(database=cls.db_name) as conn, conn.cursor() as cur:
try:
cur.execute('CREATE EXTENSION IF NOT EXISTS "uuid-ossp"')
cur.execute('DROP TABLE IF EXISTS aurora_data_api_test')
cur.execute("DROP TABLE IF EXISTS aurora_data_api_test")
cur.execute(
"""
CREATE TABLE aurora_data_api_test (
Expand Down

0 comments on commit ef6208e

Please sign in to comment.