Azure / azure-functions-python-worker

Python worker for Azure Functions.
http://aka.ms/azurefunctions
MIT License
331 stars 100 forks source link

how to stream json outputs via Azure function #1426

Closed AInisha closed 4 months ago

AInisha commented 4 months ago

Is your question related to a specific version? If so, please specify:No

What binding does your question apply to, if any? (e.g. Blob Trigger, Event Hub Binding, etc) :I am looking for streaming the output line by line inplace of just printing the output all together

Question

hallvictoria commented 4 months ago

Hi @AInisha

You can use the Azure Blob Storage client library to stream blob content.

Here are some docs for reference:

Python will also be implementing support for SDK type bindings soon, which will enable streaming through Blob Trigger or Blob Input scenarios as well.