Skip to content

Commit ec91040

Browse files
committed
corrections
1 parent a28f1df commit ec91040

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Python HTTP Function
22

33
Welcome to your new Python Function! A minimal Function implementation can
4-
be found in func.py.
4+
be found in ./function/func.py.
55

66
For more, see [the complete documentation]('https://github.com/knative/func/tree/main/docs')
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
schema_version: 0.0.1 # The version for manifest.yaml schema
2+
3+
# The name used for this language pack repository when referenced
4+
# in the UX, and its version
5+
name: default
6+
version: 0.0.1

templates/python/scaffolding/instanced-cloudevents/service/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
`source $(poetry env info --path)/bin/activate`
1818
"""
1919
import logging
20-
from func_python.http import serve
20+
from func_python.cloudevent import serve
2121

2222
logging.basicConfig(level=logging.INFO)
2323

0 commit comments

Comments
 (0)