$29 GRAYBYTE WORDPRESS FILE MANAGER $54

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/lib64/python2.7/site-packages/sqlalchemy/ext/asyncio/

HOME
Current File : /lib64/python2.7/site-packages/sqlalchemy/ext/asyncio//events.py
# ext/asyncio/events.py
# Copyright (C) 2020-2024 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: https://www.opensource.org/licenses/mit-license.php

from .engine import AsyncConnectable
from .session import AsyncSession
from ...engine import events as engine_event
from ...orm import events as orm_event


class AsyncConnectionEvents(engine_event.ConnectionEvents):
    _target_class_doc = "SomeEngine"
    _dispatch_target = AsyncConnectable

    @classmethod
    def _no_async_engine_events(cls):
        raise NotImplementedError(
            "asynchronous events are not implemented at this time.  Apply "
            "synchronous listeners to the AsyncEngine.sync_engine or "
            "AsyncConnection.sync_connection attributes."
        )

    @classmethod
    def _listen(cls, event_key, retval=False):
        cls._no_async_engine_events()


class AsyncSessionEvents(orm_event.SessionEvents):
    _target_class_doc = "SomeSession"
    _dispatch_target = AsyncSession

    @classmethod
    def _no_async_engine_events(cls):
        raise NotImplementedError(
            "asynchronous events are not implemented at this time.  Apply "
            "synchronous listeners to the AsyncSession.sync_session."
        )

    @classmethod
    def _listen(cls, event_key, retval=False):
        cls._no_async_engine_events()

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
23 Sep 2024 10.41 AM
root / root
0755
__init__.py
0.804 KB
5 Sep 2024 10.50 PM
root / root
0644
__init__.pyc
0.946 KB
23 Sep 2024 10.41 AM
root / root
0644
base.py
2.461 KB
5 Sep 2024 10.50 PM
root / root
0644
engine.py
26.03 KB
5 Sep 2024 10.50 PM
root / root
0644
events.py
1.39 KB
5 Sep 2024 10.50 PM
root / root
0644
events.pyc
2.078 KB
23 Sep 2024 10.41 AM
root / root
0644
exc.py
0.624 KB
5 Sep 2024 10.50 PM
root / root
0644
exc.pyc
1.068 KB
23 Sep 2024 10.41 AM
root / root
0644
result.py
20.195 KB
5 Sep 2024 10.50 PM
root / root
0644
scoping.py
2.891 KB
5 Sep 2024 10.50 PM
root / root
0644
session.py
23.712 KB
5 Sep 2024 10.50 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF