lexibank / pylexibank

The python curation library for lexibank
Apache License 2.0
18 stars 7 forks source link

It should be possible to specify non-default datatypes for custom attributes of model classes #228

Closed xrotwang closed 3 years ago

xrotwang commented 4 years ago

See https://github.com/lexibank/pylexibank/pull/227#issuecomment-717137866

xrotwang commented 4 years ago

Presumably this could be done using attrs' metadata.

xrotwang commented 3 years ago

Done in https://github.com/lexibank/pylexibank/commit/b8acfa7bb237c6be9a263900edee20dff6d95a4e