【问题标题】:Azure WebJobs in python [closed]python中的Azure WebJobs [关闭]
【发布时间】:2014-08-21 15:35:13
【问题描述】:

我正在尝试在 python 中创建一个监听队列的 webjob。我在 c# 中使用以下代码做了同样的事情,

public static void ProcessQueueMessage([QueueTrigger("webjobsqueue")] string inputText,
                                        [Blob("containername/blobname")]TextWriter writer)
        {
            writer.WriteLine(inputText);
        }

我想要python中的等价物,它监听队列并触发python文件。

【问题讨论】:

    标签: python azure azure-storage azure-web-roles


    【解决方案1】:

    目前不支持 Python 的 WebJobs SDK,您可以使用 Azure Python SDK 来支持,因为您不必使用 WebJobs SDK 来创建 WebJob。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-05-16
      • 2021-11-30
      • 2014-05-11
      • 1970-01-01
      • 1970-01-01
      • 2015-04-02
      • 1970-01-01
      • 2018-09-27
      相关资源
      最近更新 更多