Skip to content

Commit 16b75a2

Browse files
NO-SNOW: Docs improved
1 parent 02c693a commit 16b75a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/snowflake/connector/aio/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
# ============================================================================
1616
# DESIGN NOTES:
1717
#
18+
# Pattern similar to aiohttp.ClientSession.request() which similarly returns
19+
# an object that can be both awaited and used as an async context manager.
20+
#
1821
# The async connect function uses a wrapper to support both:
1922
# 1. Direct awaiting: conn = await connect(...)
2023
# 2. Async context manager: async with connect(...) as conn:

0 commit comments

Comments
 (0)