aboutsummaryrefslogtreecommitdiffstats
path: root/ydb/public/sdk/python3/ydb/dbapi/__init__.py
blob: 7363921192953396f325004293c6cb1517012d55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
from __future__ import absolute_import
from __future__ import unicode_literals

from .connection import Connection
from .errors import (
    Warning,
    Error,
    InterfaceError,
    DatabaseError,
    DataError,
    OperationalError,
    IntegrityError,
    InternalError,
    ProgrammingError,
    NotSupportedError,
)

version = "0.0.31"

version_info = (
    1,
    0,
    0,
)

apilevel = "1.0"

threadsafety = 0

paramstyle = "qmark"

errors = (
    Warning,
    Error,
    InterfaceError,
    DatabaseError,
    DataError,
    OperationalError,
    IntegrityError,
    InternalError,
    ProgrammingError,
    NotSupportedError,
)


def connect(*args, **kwargs):
    return Connection(*args, **kwargs)