The desire for this came up for me in relation to a set of dataclasses used to
define a tree structure where each item has a reference to its parent.
Including the complete expansion of the parent (with its children and its
parent with its children, etc.) is WAY too much information, but at the
I should add that…
I did find it is already possible to define a dataclass field for a property
that is implemented as `@property`-decorated function, but it's a bit of a
hack. It only works if the property has a setter that succeeds, even it the
attribute is supposed to be read-only or if it i
On 2022-05-14 10:10 p.m., Aaron Fink wrote:
start_moving_to(dest)
await lambda: distance_to(dest) <= tolerance
Instead of evaluating an expression you could build a notification chain
that you await upon.
x = Variable(value=2)
y = Variable(value=2)
# we create a Future that watches x and