Skip to content

InMemoryDatabaseLike

Base classes

Name Children Inherits
Protocol
typing
Base class for protocol classes.

⋔ Inheritance diagram

graph TD
  4067545493["sqlite_types.InMemoryDatabaseLike"]
  1073422405["typing.Protocol"]
  3481597255["typing.Generic"]
  2751680898["builtins.object"]
  1073422405 --> 4067545493
  3481597255 --> 1073422405
  2751680898 --> 3481597255

🛈 DocStrings

Bases: Protocol

Protocol for in-memory database-like objects.

Source code in src/toprompt/sqlite_types.py
@runtime_checkable
class InMemoryDatabaseLike(Protocol):
    """Protocol for in-memory database-like objects."""

    @property
    def in_memory(self) -> bool: ...

:fa-brands-github: Show source on GitHub