Skip to content

Commit 94b7b39

Browse files
committed
Updated to 0.3.1/ No more commits directly to master
1 parent 759f5a6 commit 94b7b39

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/tarantool/__init__.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
# -*- coding: utf-8 -*-
22
# pylint: disable=C0301,W0105,W0401,W0614
33

4-
__version__ = "0.3.0"
4+
__version__ = "0.3.1"
55

66
from tarantool.connection import Connection
77
from tarantool.const import *
88
from tarantool.error import *
99
from tarantool.schema import *
1010

11+
1112
def connect(host="localhost", port=33013, schema=None):
1213
'''\
1314
Create a connection to the Tarantool server.
14-
15+
1516
:param str host: Server hostname or IP-address
1617
:param int port: Server port
1718
:param schema: Data schema (see Developer guide and :class:`~tarantool.schema.Schema`)
@@ -20,10 +21,10 @@ def connect(host="localhost", port=33013, schema=None):
2021
:rtype: :class:`~tarantool.connection.Connection`
2122
:raise: `NetworkError`
2223
'''
23-
24+
2425
return Connection(host, port,
2526
socket_timeout=SOCKET_TIMEOUT,
2627
reconnect_max_attempts=RECONNECT_MAX_ATTEMPTS,
2728
reconnect_delay=RECONNECT_DELAY,
2829
connect_now=True,
29-
schema = schema)
30+
schema=schema)

0 commit comments

Comments
 (0)