-
Notifications
You must be signed in to change notification settings - Fork 138
df: Event types #919
Comments
This will probably require extensive changes since anywhere where |
We need to make sure events are propagated from subflows too |
We also need to make sure that we have some way of marking Inputs or events as security sensitive. For example the value of a private key should never be sent in the event log, unless explicitly requested by the user. |
We might be able to make this happen via the multi context wait on Ya we can, NICE! |
Related: 2022-11-16 @pdxjohnny Engineering Logs When runnning dataflow ctx, results. just turn ctx into event effectivly by making the return value an |
Project Description
A large part of DFFML is the concept of a DataFlow.
Chance orchestrator context run so that it yields three objects, context, event
type, results.
Currently we have a lot of code that looks like this:
When this project is over, those
for
loops will look like this:The way things currently work is that the
run
functionyield
s when thecontext is finished running. It
yield
s the context that was running and theresults.
We need to add another part to a data flow so we can yield
Input
s. The eventtype would be
INPUT
, and in the DataFlow we should add a section for events.In the events section for
INPUT
events we could specify when aninput should be yielded. We use the inputs section to specify which transitions
between operations should be yielded.
This will enable us to do things like running a DataFlow and not only
yield
ingthe results, but data that's moving through the network as the DataFlow is
running. This allows developers to build applications that show the progress of
a DataFlow as it's running.
Skills
Difficulty
Intermediate/Hard
Related Readings
Getting Started
network.
dffml/df/memory.py
and understand how it relates to thedocs covering DataFlows conceptually.
dffml/df/memory.py
and the othercode and examples that would change as a result.
Potential Mentors
Tracking and Discussion
This project is related to the following issues. Please discuss and ask
questions in the issue comments. Please also ping mentors on
Gitter when you post on the following
issues so that they are sure to see that you've commented.
The text was updated successfully, but these errors were encountered: