File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ registrar.register_allow_entity_creation_hook(
199199
200200Receives eid and Task, may return new DataPointTasks.
201201
202- The callback is registered using the
202+ Callbacks which are called once when an entity is created are registered using the
203203[`register_on_entity_creation_hook`][dp3.common.callback_registrar.CallbackRegistrar.register_on_entity_creation_hook] method.
204204Required signature is `Callable[[str, DataPointTask], list[DataPointTask]]`.
205205
@@ -240,7 +240,7 @@ registrar.register_on_entity_creation_hook(
240240
241241# ### Attribute hooks
242242
243- Callbacks are registered using the
243+ Callbacks that are called on every incoming datapoint of an attribute are registered using the
244244[`register_on_new_attr_hook`][dp3.common.callback_registrar.CallbackRegistrar.register_on_new_attr_hook] method.
245245The callback allways receives eid, attribute and Task, and may return new DataPointTasks.
246246The required signature is `Callable[[str, DataPointBase], Union[None, list[DataPointTask]]]`.
You can’t perform that action at this time.
0 commit comments