Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Attrs – the Python library everyone needs (2016). Parent comment
id: UUID = attr.ib(validator=instance_of(UUID), …other parameters)
If your attribute name is longer or you have other parameters to set, that can be a very long line (or lines) of code that you repeat for every attribute
There are no comments on this comment yet.
If your attribute name is longer or you have other parameters to set, that can be a very long line (or lines) of code that you repeat for every attribute