3 Commits

Author SHA1 Message Date
Rapptz
7c091282ce Add equality comparisons between two assets and hashing an asset. 2019-04-13 17:22:25 -04:00
Rapptz
407d18a30d Fix various bugs with Asset._url None handling. 2019-04-09 05:17:29 -04:00
NCPlayz
be227ebcf0 Redesign asset retrieval in the library.
Most assets now return a new class named `Asset`. This allows for the
assets to be consistently saved via a `save` method instead of special
casing for `Attachment`.

`AppInfo` is no longer a namedtuple it is a fully documented dataclass,
as well as having the state attached to it.

Fixes #1997
2019-04-06 19:12:50 -04:00