Skip to content

Commit

Permalink
Added missing documentation for tls_version
Browse files Browse the repository at this point in the history
  • Loading branch information
9EOR9 committed Jul 2, 2023
1 parent c29e278 commit 67d3062
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mariadb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ def connect(*args, connectionclass=mariadb.connections.Connection, **kwargs):
Enables server certificate verification.
- ssl:
The connection must use TLS security or it will fail.
- tls_version:
A comma-separated list (without whitespaces) of TLS versions.
Valid versions are TLSv1.0, TLSv1.1,TLSv1.2 and TLSv1.3.
Added in version 1.1.7.
- autocommit=False:
Specifies the autocommit settings.
True will enable autocommit, False will disable it (default).
Expand Down

0 comments on commit 67d3062

Please sign in to comment.