Skip to content

Commit 28b8d35

Browse files
NO-SNOW: doc update
1 parent 84845c6 commit 28b8d35

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

ASYNC_CONNECT_IMPLEMENTATION.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Async Connect Wrapper Implementation
1+
# Async Connect Wrapper: Design & Implementation
22

33
## Overview
44

@@ -92,28 +92,6 @@ async def _connect_coro() -> SnowflakeConnection:
9292
```
9393
Defers connection creation and establishment until await time, not at `connect()` call time.
9494

95-
## Verification
96-
97-
```python
98-
# Metadata preservation
99-
assert connect.__name__ == "connect"
100-
assert hasattr(connect, "__wrapped__")
101-
assert callable(connect)
102-
103-
# Return type is hybrid awaitable + context manager
104-
result = connect(account="test")
105-
assert hasattr(result, "__await__") # Awaitable
106-
assert hasattr(result, "__aenter__") # Async context manager
107-
assert hasattr(result, "send") # Full coroutine protocol
108-
```
109-
110-
## Backwards Compatibility
111-
112-
- ✅ Existing code using `await aio.connect(...)` works unchanged
113-
- ✅ Metadata available for IDE tooltips and introspection
114-
- ✅ Full coroutine protocol support for advanced/external tooling
115-
- ✅ No breaking changes
116-
11795
## File Location
11896

11997
`src/snowflake/connector/aio/__init__.py`

0 commit comments

Comments
 (0)