Skip to content

v0.70.0 : tag.state for all

Compare
Choose a tag to compare
@manatlan manatlan released this 12 Dec 19:11
· 183 commits to main since this release

Big changes ;-)

Tag.state was available only in the main/managed tag instance of the runner, and was saved as a subdict in Tag.session. In all others tag instance, it was None.

Now, Tag.state is available in all Tag instances (as a dict). And only the tag.state of the main/managed tag instance of the runner is saved as a subdict in Tag.session.

Now, it's the better place to store inner properties of a tag instance. BTW, objects stored in the the main/managed tag instance states, needs to be json/serializable (in others : no).

  • So the state in the managed/main instance is the perfect place to store persistent things (json serializable)
  • So the state in others instances is the perfect place to store inner properties (any python object)

Full Changelog: v0.66.0...v0.70.0