Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/examples/PGSQLAlchemyAsyncFailover.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from sqlalchemy.exc import OperationalError
from sqlalchemy.ext.asyncio import create_async_engine

from aws_advanced_python_wrapper import release_resources
from aws_advanced_python_wrapper.aio import release_resources_async

CLUSTER_ENDPOINT = "database.cluster-xyz.us-east-1.rds.amazonaws.com"
DB_NAME = "postgres"
Expand Down Expand Up @@ -69,7 +69,7 @@ async def main() -> None:
await run_workload(engine)
finally:
await engine.dispose()
release_resources()
await release_resources_async()


if __name__ == "__main__":
Expand Down