when the env variable K_EXECUTION_MODE is equal to batch the python runtime will read the event from the file and pass it to the handler
If the function returns a new event it would be produced to an endpoint that is pointed by K_SINK env variable (if present) (so that you can use JobSink in combination with SinkBinding to have "job callbacks")
As described in https://github.com/knative/func/issues/2586, we need to integrate the Python CloudEvents functions with JobSink
K_EXECUTION_MODE
is equal tobatch
the python runtime will read the event from the file and pass it to the handlerK_SINK
env variable (if present) (so that you can use JobSink in combination with SinkBinding to have "job callbacks")