You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/module.rst
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ The mariadb module supports the standard defined by DB API 2.0 (PEP-249).
16
16
Establishes a connection to a database server and returns a new connection
17
17
object.
18
18
19
-
:parameters:
19
+
Parameters:
20
20
21
21
.. versionadded:: 1.1.0
22
22
@@ -53,9 +53,11 @@ The mariadb module supports the standard defined by DB API 2.0 (PEP-249).
53
53
- **ssl_crlpath** (string): Defines a path to a PEM file that should contain one or more revoked X509 certificates to use for TLS. This option requires that you use the absolute path, not a relative path.
54
54
- **ssl_verify_cert** (bool): Enables server certificate verification.
55
55
- **ssl** (bool): Always use a secure TLS connection
56
-
.. versionadded:: 1.0.1
56
+
.. versionadded:: 1.0.1
57
+
57
58
- **autocommit** (bool or None): Specifies the autocommit settings: None will use the server default. True will enable autocommit, False will disable it (default).
58
59
.. versionadded:: 1.0.3
60
+
59
61
- **converter** (dict): Specifies a conversion dictionary, where keys are FIELD_TYPE values and values are conversion functions.
60
62
61
63
:return: Returns a connection object or raises an error if the connection between client and server couldn't be established.
Copy file name to clipboardExpand all lines: docs/_sources/module.rst.txt
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ The mariadb module supports the standard defined by DB API 2.0 (PEP-249).
16
16
Establishes a connection to a database server and returns a new connection
17
17
object.
18
18
19
-
:parameters:
19
+
Parameters:
20
20
21
21
.. versionadded:: 1.1.0
22
22
@@ -53,9 +53,11 @@ The mariadb module supports the standard defined by DB API 2.0 (PEP-249).
53
53
- **ssl_crlpath** (string): Defines a path to a PEM file that should contain one or more revoked X509 certificates to use for TLS. This option requires that you use the absolute path, not a relative path.
54
54
- **ssl_verify_cert** (bool): Enables server certificate verification.
55
55
- **ssl** (bool): Always use a secure TLS connection
56
-
.. versionadded:: 1.0.1
56
+
.. versionadded:: 1.0.1
57
+
57
58
- **autocommit** (bool or None): Specifies the autocommit settings: None will use the server default. True will enable autocommit, False will disable it (default).
58
59
.. versionadded:: 1.0.3
60
+
59
61
- **converter** (dict): Specifies a conversion dictionary, where keys are FIELD_TYPE values and values are conversion functions.
60
62
61
63
:return: Returns a connection object or raises an error if the connection between client and server couldn't be established.
Copy file name to clipboardExpand all lines: docs/module.html
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -52,12 +52,9 @@ <h3>Navigation</h3>
52
52
<spanclass="sig-prename descclassname"><spanclass="pre">mariadb.</span></span><spanclass="sig-name descname"><spanclass="pre">connect</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">cursorclass</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">mariadb.connections.Connection</span><spanclass="pre">**</span><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink" href="#mariadb.connect" title="Permalink to this definition">¶</a></dt>
53
53
<dd><p>Establishes a connection to a database server and returns a new connection
54
54
object.</p>
55
+
<p>Parameters:</p>
55
56
</dd></dl>
56
57
57
-
<dlclass="field-list simple">
58
-
<dtclass="field-odd">parameters</dt>
59
-
<ddclass="field-odd"><p></p></dd>
60
-
</dl>
61
58
<divclass="versionadded">
62
59
<p><spanclass="versionmodified added">New in version 1.1.0: </span></p>
63
60
<ulclass="simple">
@@ -102,10 +99,16 @@ <h3>Navigation</h3>
102
99
</ul>
103
100
</div>
104
101
<divclass="versionadded">
105
-
<p><spanclass="versionmodified added">New in version 1.0.1: </span>- <strong>autocommit</strong> (bool or None): Specifies the autocommit settings: None will use the server default. True will enable autocommit, False will disable it (default).</p>
102
+
<p><spanclass="versionmodified added">New in version 1.0.1: </span></p>
103
+
<ulclass="simple">
104
+
<li><p><strong>autocommit</strong> (bool or None): Specifies the autocommit settings: None will use the server default. True will enable autocommit, False will disable it (default).</p></li>
105
+
</ul>
106
106
</div>
107
107
<divclass="versionadded">
108
-
<p><spanclass="versionmodified added">New in version 1.0.3: </span>- <strong>converter</strong> (dict): Specifies a conversion dictionary, where keys are FIELD_TYPE values and values are conversion functions.</p>
108
+
<p><spanclass="versionmodified added">New in version 1.0.3: </span></p>
109
+
<ulclass="simple">
110
+
<li><p><strong>converter</strong> (dict): Specifies a conversion dictionary, where keys are FIELD_TYPE values and values are conversion functions.</p></li>
111
+
</ul>
109
112
<dlclass="field-list simple">
110
113
<dtclass="field-odd">return</dt>
111
114
<ddclass="field-odd"><p>Returns a connection object or raises an error if the connection between client and server couldn’t be established.</p>
0 commit comments