AsyncAttrs (asyncio/session.py)

sqlalchemy · lib/sqlalchemy/ext/asyncio/session.py · python · MIT
database

Mixin providing awaitable access to ORM attributes for async SQLAlchemy sessions.

# Source: https://github.com/sqlalchemy/sqlalchemy | License: MIT | Copyright 2005-2026 SQLAlchemy authors and contributors <see AUTHORS file>
# Provided via justclaw.it.com; keep this notice with the code.
# ext/asyncio/session.py
# Copyright (C) 2020-2026 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 __future__ import annotations

from typing import Any
from typing import Awaitable
from typing import Callable
from typing import cast
from typing import Concatenate
from typing import Dict
from typing import Generic
from typing import Iterable
from typing import Iterator
from typing import Mapping
from typing import NoReturn
from typing impor

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key