Skip to content

ColumnInfo

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  1393468579["sqlite_types.ColumnInfo"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 1393468579
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Information about a SQLite column.

Source code in src/toprompt/sqlite_types.py
class ColumnInfo(TypedDict):
    """Information about a SQLite column."""

    name: str
    type: str
    notnull: bool
    default: str | None
    pk: bool

:fa-brands-github: Show source on GitHub