Skip to content

Commit 80c12dc

Browse files
iproto: provide new features codes
Pagination was added in Tarantool 2.11.0-rc1 [1]. Space and index names support will be added to Tarantool 3.0 [2]. Watch once feature will be added to Tarantool 3.0 [3]. 1. tarantool/tarantool@948e5cd 2. tarantool/tarantool@b9550f1 3. tarantool/tarantool@6dc1433 Part of #267
1 parent 00efc10 commit 80c12dc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: tarantool/const.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@
9999
IPROTO_FEATURE_TRANSACTIONS = 1
100100
IPROTO_FEATURE_ERROR_EXTENSION = 2
101101
IPROTO_FEATURE_WATCHERS = 3
102+
IPROTO_FEATURE_PAGINATION = 4
103+
IPROTO_FEATURE_SPACE_AND_INDEX_NAMES = 5
104+
IPROTO_FEATURE_WATCH_ONCE = 6
102105

103106
# Default value for connection timeout (seconds)
104107
CONNECTION_TIMEOUT = None
@@ -133,8 +136,8 @@
133136
# Default delay between attempts to reconnect (seconds)
134137
POOL_INSTANCE_RECONNECT_DELAY = 0
135138

136-
# Tarantool 2.10 protocol version is 3
137-
CONNECTOR_IPROTO_VERSION = 3
139+
# Tarantool master 970ea48 protocol version is 6
140+
CONNECTOR_IPROTO_VERSION = 6
138141
# List of connector-supported features
139142
CONNECTOR_FEATURES = [IPROTO_FEATURE_ERROR_EXTENSION]
140143

0 commit comments

Comments
 (0)