8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb108a6 commit b9e07c5Copy full SHA for b9e07c5
pymysql/connections.py
@@ -126,7 +126,7 @@ class Connection:
126
:param init_command: Initial SQL statement to run when connection is established.
127
:param connect_timeout: The timeout for connecting to the database in seconds.
128
(default: 10, min: 1, max: 31536000)
129
- :param ssl: A dict of arguments similar to mysql_ssl_set()'s parameters.
+ :param ssl: A dict of arguments similar to mysql_ssl_set()'s parameters or an ssl.SSLContext.
130
:param ssl_ca: Path to the file that contains a PEM-formatted CA certificate.
131
:param ssl_cert: Path to the file that contains a PEM-formatted client certificate.
132
:param ssl_disabled: A boolean value that disables usage of TLS.
0 commit comments