Several new States, State features, more data recording options, new communications managers, and various fixes.
- State default and default_factory improvements (#82)
- Only one of the two is allowed
- The factory is run on each initialization of an Actor
- No more deepcopy of a default
- State Recording Functions (#85)
- Custom functions and callable classes add more data when states update
- Dictionary and Dataclass States (#94)
DictionaryStateandDataclassStateadded.- UPSTAGE will record attribute changes in those data types automatically
- No more
actor.record_state(statename)needed for those data types as states.
- Added
MultiStoreState(#96)- Similar to
DictionaryState. Keys map toStoreandContainerresources. - Help for defaults and other settings for the resources.
- Data recording manages
_quantities
- Similar to
- Communications Improvements
- Fixed bug in
NamedUpstageEntitywhere multiple inheritance failed to provide allentity_groups(#101) - Actors can set knowledge on instantiation (#102)
- States can force the default value to be the first value with
no_init=True(#102)