Skip to content

Handling optional attributes in SQLAlchemy Declarative Mapping abstract classes with dataclass #10027

Discussion options

You must be logged in to vote

added #10064. Instantiation of any MappedAsDataclass class that is not mapped is not supported by SQLAlchemy, and behavior is currently undefined.

Replies: 4 comments 19 replies

Comment options

You must be logged in to vote
6 replies
@CaselIT
Comment options

@CaselIT
Comment options

@zzzeek
Comment options

@CaselIT
Comment options

@oliviernguyenquoc
Comment options

Comment options

You must be logged in to vote
13 replies
@oliviernguyenquoc
Comment options

@CaselIT
Comment options

@oliviernguyenquoc
Comment options

@zzzeek
Comment options

@CaselIT
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by oliviernguyenquoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants