Skip to content

Commit 3ae0f09

Browse files
committed
python templates README
1 parent d60a588 commit 3ae0f09

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

templates/python/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Python
2+
3+
Python support consists of two templates, "http" and "cloudevents", and
4+
scaffolding which is used to connect user Functions to the func-python
5+
middleware.
6+
7+
When a user creates a new Python Function, either the "http" (default) or
8+
"cloudevents" template is written out as their new Function's initial state.
9+
10+
When a Function is built, such as on deploy, the contents of the scaffolding
11+
directory herein is written on-demand, effectively wrapping the user's
12+
Function in an app which uses the functions middleware to expose the Function
13+
as a service. This "scaffolded" Function is thus able to be containerized and
14+
deployed. see knative-extensions/func-python for the middleware, which
15+
includes examples.
16+
17+
The core templates are intentionally minimal. Additional templates can be used
18+
from templates repositories, such as the officially supported func-templates.
19+
20+
See the README.md in each directory for more information.

0 commit comments

Comments
 (0)