Skip to content

Commit 48123e7

Browse files
NO-SNOW: final api
1 parent ef0e4fd commit 48123e7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/snowflake/connector/aio/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ async def __aexit__(self, exc_type: Any, exc: Any, tb: Any) -> None:
146146

147147

148148
@wraps(SnowflakeConnection.__init__)
149-
def Connect(**kwargs: Any) -> HybridCoroutineContextManager[SnowflakeConnection]:
149+
def connect(**kwargs: Any) -> HybridCoroutineContextManager[SnowflakeConnection]:
150150
"""Create and connect to a Snowflake connection asynchronously.
151151
152152
Returns an awaitable that can also be used as an async context manager.
@@ -161,6 +161,3 @@ async def _connect_coro() -> SnowflakeConnection:
161161
return conn
162162

163163
return _AsyncConnectContextManager(_connect_coro())
164-
165-
166-
connect = Connect

0 commit comments

Comments
 (0)