Skip to main content

SqlClientMixin

Mixin class for SQL clients.

This mixin provides common SQL operations and basic methods for SQL storage clients.

Hierarchy

Index

Methods

__init__

  • __init__(*, id, storage_client): None
  • Parameters

    Returns None

get_session

  • async get_session(*, with_simple_commit): AsyncIterator[AsyncSession]
  • Create a new SQLAlchemy session for this storage.


    Parameters

    • optionalkeyword-onlywith_simple_commit: bool = False

    Returns AsyncIterator[AsyncSession]

Page Options