Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4c9512b

Browse files
Adding information in connection pool class doc string for available SSLConnection class, that can be used for SSL connections (#3710)
1 parent 31399ed commit 4c9512b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

‎redis/asyncio/connection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,6 +1042,7 @@ class ConnectionPool:
10421042
By default, TCP connections are created unless ``connection_class``
10431043
is specified. Use :py:class:`~redis.UnixDomainSocketConnection` for
10441044
unix sockets.
1045+
:py:class:`~redis.SSLConnection` can be used for SSL enabled connections.
10451046
10461047
Any additional keyword arguments are passed to the constructor of
10471048
``connection_class``.

‎redis/connection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,6 +1321,7 @@ class ConnectionPool:
13211321
By default, TCP connections are created unless ``connection_class``
13221322
is specified. Use class:`.UnixDomainSocketConnection` for
13231323
unix sockets.
1324+
:py:class:`~redis.SSLConnection` can be used for SSL enabled connections.
13241325
13251326
Any additional keyword arguments are passed to the constructor of
13261327
``connection_class``.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /