Skip to content

Add metadata to mapped_column for inclusion in MappedAsDataclass #10674

@CaselIT

Description

@CaselIT

Discussed in #10536

Originally posted by notmatthancock October 24, 2023
Dataclasses fields allow a metadata dictionary (see here). It would be useful if this was available in mapped_column that gets inserted as normal metadata in the respective dataclass field when the MappedAsDataclass mixin is used.

to avoid confusion with the sqlalchemy metadata, the best bane for it is probably dataclass_metadata

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions