blob: 2b98261ef2e2fefc5a6a70922862d615f8a13cf6 (
plain)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# engine/__init__.py
# Copyright (C) 2005-2021 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
"""SQL connections, SQL execution and high-level DB-API interface.
The engine package defines the basic components used to interface
DB-API modules with higher-level statement construction,
connection-management, execution and result contexts. The primary
"entry point" class into this package is the Engine and its public
constructor ``create_engine()``.
"""
from . import events # noqa
from . import util # noqa
from .base import Connection # noqa
from .base import Engine # noqa
from .base import NestedTransaction # noqa
from .base import RootTransaction # noqa
from .base import Transaction # noqa
from .base import TwoPhaseTransaction # noqa
from .create import create_engine
from .create import engine_from_config
from .cursor import BaseCursorResult # noqa
from .cursor import BufferedColumnResultProxy # noqa
from .cursor import BufferedColumnRow # noqa
from .cursor import BufferedRowResultProxy # noqa
from .cursor import CursorResult # noqa
from .cursor import FullyBufferedResultProxy # noqa
from .cursor import LegacyCursorResult # noqa
from .interfaces import Compiled # noqa
from .interfaces import Connectable # noqa
from .interfaces import CreateEnginePlugin # noqa
from .interfaces import Dialect # noqa
from .interfaces import ExceptionContext # noqa
from .interfaces import ExecutionContext # noqa
from .interfaces import TypeCompiler # noqa
from .mock import create_mock_engine
from .result import ChunkedIteratorResult # noqa
from .result import FrozenResult # noqa
from .result import IteratorResult # noqa
from .result import MappingResult # noqa
from .result import MergedResult # noqa
from .result import Result # noqa
from .result import result_tuple # noqa
from .result import ScalarResult # noqa
from .row import BaseRow # noqa
from .row import LegacyRow # noqa
from .row import Row # noqa
from .row import RowMapping # noqa
from .url import make_url # noqa
from .url import URL # noqa
from .util import connection_memoize # noqa
from ..sql import ddl # noqa
__all__ = ("create_engine", "engine_from_config", "create_mock_engine")
|