Skip to content

.versions typing #158

@gavmor

Description

@gavmor

I find myself writing:

class Vehicle(Base):
    __versioned__ = {}
    if TYPE_CHECKING:
        versions: Mapped[AppenderQuery[VehicleProtocol]]

Is this necessary, or am I missing some automatic typing configuration?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions