-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Open
Copy link
Labels
needs designRequires more thought about how to do this and more detail adding to the descriptionRequires more thought about how to do this and more detail adding to the description
Description
In pandablocks FastCS I had a bunch of AttrRW
that needed to be the same value. To do this I added a callback (some already have their own handlers), but to avoid retriggering the callback recursively I had to add logic for checking that the value isn't already set:
Suggestion
We change _update_callbacks
to _transport_update_callbacks
and _user_update_callbacks
. The transport update callbacks will always be ran, however AttrR.set
will have a kwarg for run_update_callbacks=True
which can toggle whether _user_update_callbacks
will be ran.
Metadata
Metadata
Assignees
Labels
needs designRequires more thought about how to do this and more detail adding to the descriptionRequires more thought about how to do this and more detail adding to the description