1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/serverless/functions/serverless-developing-python-functions.adoc

28 lines
1.6 KiB
Plaintext
Raw Normal View History

:_mod-docs-content-type: ASSEMBLY
2021-05-04 10:20:30 -05:00
[id="serverless-developing-python-functions"]
= Developing Python functions
:context: serverless-developing-python-functions
2022-02-16 11:35:56 -05:00
include::_attributes/common-attributes.adoc[]
2021-05-04 10:20:30 -05:00
toc::[]
:FeatureName: {FunctionsProductName} with Python
include::snippets/technology-preview.adoc[leveloffset=+2]
After you have xref:../../serverless/functions/serverless-functions-getting-started.adoc#serverless-create-func-kn_serverless-functions-getting-started[created a Python function project], you can modify the template files provided to add business logic to your function. This includes configuring function invocation and the returned headers and status codes.
2021-05-04 10:20:30 -05:00
[id="prerequisites_serverless-developing-python-functions"]
== Prerequisites
2021-05-13 17:14:50 -05:00
* Before you can develop functions, you must complete the steps in xref:../../serverless/functions/serverless-functions-setup.adoc#serverless-functions-setup[Setting up {FunctionsProductName}].
2021-05-04 10:20:30 -05:00
include::modules/serverless-python-template.adoc[leveloffset=+1]
include::modules/serverless-invoking-python-functions.adoc[leveloffset=+1]
include::modules/serverless-python-function-return-values.adoc[leveloffset=+1]
include::modules/serverless-testing-python-functions.adoc[leveloffset=+1]
[id="next-steps_serverless-developing-python-functions"]
== Next steps
2021-05-13 17:14:50 -05:00
* xref:../../serverless/functions/serverless-functions-getting-started.adoc#serverless-build-func-kn_serverless-functions-getting-started[Build] and xref:../../serverless/functions/serverless-functions-getting-started.adoc#serverless-deploy-func-kn_serverless-functions-getting-started[deploy] a function.