Conversation
Each function in each signature has at least 2 parameters:
So, using context parameter, developers can get an access to:
hopefully, this helps. |
PythonFDKIntroduction/README.md
Outdated
| HTTP: the function will receive the full HTTP request | ||
| JSON: the function will receive a JSON object very similar to CNCF OpenEvents | ||
| * default: whatever an application sends inside the HTTP request body will be transferred to the function | ||
| * HTTP: the function receives the full HTTP request |
There was a problem hiding this comment.
remove this line and add:
- cloudevent: the function receives the a CloudEvent object
PythonFDKIntroduction/README.md
Outdated
| acceptable. | ||
|
|
||
| Please note that FDK-Python supports only JSON format. | ||
| In contrast, HTTP and JSON formats are applied to hot functions. A hot function |
There was a problem hiding this comment.
In contrast, CloudEvent and JSON formats are applied to hot functions.
HTTP format no longer supported by fdk-python
PythonFDKIntroduction/README.md
Outdated
| `idle_timeout` value. For a developer, the HTTP format feels like talking to a | ||
| web server because it uses simple HTTP methods. The JSON format is a bit | ||
| different because Fn automatically assembles a JSON object from the HTTP | ||
| request. |
There was a problem hiding this comment.
remove this:
the HTTP format feels like talking to a web server because it uses simple HTTP methods
There was a problem hiding this comment.
Can you add a description for cloudevent format? Here's the doc: https://github.com/fnproject/fn/blob/master/docs/developers/function-format.md#cloudevent-io-format
|
Ok. I made the changes that you requested. Let me know what you think. |
|
Hey Denis, let's see if we can get this one merged. Looks like I may need to resolve some conflicts. |
Here is my grammar edit for the tutorial. Mostly changing verbs to active voice and simplifying sentences.
I couldn't figure out this sentence:
So if you have a chance, take another try at that one.
Let me know if you have any questions.
Mike W.