Skip to content

Commit ad145c4

Browse files
committed
api: native crud module support
Adds native api support for crud module [1] to use it from a connection object. 1. github.com/tarantool/crud Closes #205
1 parent 6c54109 commit ad145c4

File tree

3 files changed

+814
-0
lines changed

3 files changed

+814
-0
lines changed

tarantool/connection.py

+2
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
warn
8787
)
8888
from tarantool.schema import Schema
89+
from tarantool.crud import Crud
8990
from tarantool.utils import (
9091
greeting_decode,
9192
version_id,
@@ -516,6 +517,7 @@ def __init__(self, host, port,
516517
IPROTO_FEATURE_WATCHERS: False,
517518
IPROTO_FEATURE_GRACEFUL_SHUTDOWN: False,
518519
}
520+
self.crud = Crud(self)
519521

520522
if connect_now:
521523
self.connect()

0 commit comments

Comments
 (0)