-
-
Notifications
You must be signed in to change notification settings - Fork 387
Closed
Labels
Description
This is kind of part of #214 but it stands for itself too.
Something like:
@attr.s(check_types=True)
class C:
x = attr.ib(type=int)
ought to work.
Regardless of checking the type, the type information has to be accessible somewhere so we can have first-class deserialization support.
glyph, goodspark, anthrotype, RonnyPfannschmidt, j-walker23 and 3 moreyunstanford, glyph, hockeybuggy, goodspark, anthrotype and 1 more