@attr.define(...)
class SeasonEntity(Entity):
number = ...
start_date = ...
season_pass = ...
And this goes for all other definitions.
This is just an implementation and will not be a part of 0.2.5 stable release yet.
This will also completely replace the Manifest database methods and converts them to an actual entity objects.
The Bungie entity flow is still in Beta but my implementation was this.
Almost all Definitions have a
displayProperties
which includes:Each definition have different response, for an example the
DestinyActivityDefinition
has a:so if the main Entity look like this:
we're gonna have to design interfaces to the others. Like the activity definition will look like:
and the season definition looks like this.
And this goes for all other definitions. This is just an implementation and will not be a part of
0.2.5
stable release yet. This will also completely replace the Manifest database methods and converts them to an actual entity objects.