Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 667 Bytes

functions-add-output-binding-python.md

File metadata and controls

13 lines (10 loc) · 667 Bytes
author ms.service ms.topic ms.date ms.author
ggailey777
azure-functions
include
09/23/2019
glenga

Update HttpExample\__init__.py to match the following code, adding the msg parameter to the function definition and msg.set(name) under the if name: statement.

:::code language="python" source="~/functions-docs-python/functions-add-output-binding-storage-queue-cli/HttpExample/init.py":::

The msg parameter is an instance of the azure.functions.Out class. Its set method writes a string message to the queue, in this case the name passed to the function in the URL query string.