Test Python Google Cloud Functions locally

后端 未结 4 1634
一个人的身影
一个人的身影 2021-02-01 04:24

I\'m trying out the Python3.7 runtime on Google Cloud Functions. I am able to deploy the functions and make them work once deployed, however, I can\'t seem to run the emulator t

4条回答
  •  误落风尘
    2021-02-01 05:06

    See this project on GitHub: GoogleCloudPlatform/functions-framework

    Currently there are only implementations in Node.js, Go, and PHP, but see Issue #5 about the Python implementation.

    I suggest, whatever implementation you use, to follow the Functions Framework Contract

    UPDATE: As Dustin mentioned, there is also a Python implementation now.

提交回复
热议问题