8000 add docs for read_timeout/write_timeout (#665) · jiangsanyin/PyMySQL@db20bf2 · GitHub
[go: up one dir, main page]

Skip to content

Commit db20bf2

Browse files
grooverdanmethane
authored andcommitted
add docs for read_timeout/write_timeout (PyMySQL#665)
1 parent d4f5929 commit db20bf2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pymysql/connections.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,8 @@ class Connection(object):
524524
the interface from which to connect to the host. Argument can be
525525
a hostname or an IP address.
526526
:param unix_socket: Optionally, you can use a unix socket rather than TCP/IP.
527+
:param read_timeout: The timeout for reading from the connection in seconds (default: None - no timeout)
528+
:param write_timeout: The timeout for writing to the connection in seconds (default: None - no timeout)
527529
:param charset: Charset you want to use.
528530
:param sql_mode: Default SQL_MODE to use.
529531
:param read_default_file:

0 commit comments

Comments
 (0)
0