-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention/extra information is neededExtra attention/extra information is needed
Milestone
Description
The TD/TM supports a field called dataResponse for event affordance so that information on receival of an event can be sent out further (Atleast thats what I think it is, although they say that its meant for a webhook, which I am not very knowledgeable about).
- Support this field in the
__init__ofEvent- accept pydantic or JSON schema - Using the
DataSchemapydantic object, populate this value in the generatedThingModel(inhololinked.tdnamespace) - Research whether this field can be used for sending acknowledgements back to the same server that sent the event. If yes, implement the
acknowledgemethod ofEventDispatcherand accept this acknowledgement (hololinked/core/event.py). Validate the payload received using pydantic or JSON schema and return the value to the user (Add a flag which allows skipping the validation). If this value cannot be used in acknowledgements, there is no need to implement this point. - add tests and documentation
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention/extra information is neededExtra attention/extra information is needed
Type
Projects
Status
Ready