Skip to content

Commit

Permalink
api: native crud module support
Browse files Browse the repository at this point in the history
Adds native api support for crud module [1]
to use it from a connection object.

1. github.com/tarantool/crud

Closes #205
  • Loading branch information
GRISHNOV committed Nov 15, 2022
1 parent 6c54109 commit ad145c4
Show file tree
Hide file tree
Showing 3 changed files with 814 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tarantool/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
warn
)
from tarantool.schema import Schema
from tarantool.crud import Crud
from tarantool.utils import (
greeting_decode,
version_id,
Expand Down Expand Up @@ -516,6 +517,7 @@ def __init__(self, host, port,
IPROTO_FEATURE_WATCHERS: False,
IPROTO_FEATURE_GRACEFUL_SHUTDOWN: False,
}
self.crud = Crud(self)

if connect_now:
self.connect()
Expand Down
Loading

0 comments on commit ad145c4

Please sign in to comment.