yokawasa / azure-functions-python-samples

Azure Functions Python Sample Codes. NOTE: The project, hosted in a repository, is no longer actively maintained by its creators or contributors. There won't be any further updates, bug fixes, or support from the original developers in the project.
MIT License
392 stars 181 forks source link

Python Singleton instance for MongoDb #30

Closed antonioschaffert closed 5 years ago

antonioschaffert commented 5 years ago

Hi,

How do we create one MongoDb Connection to be used across all azure function invocations?

yokawasa commented 5 years ago

@antonioschaffert I believe this is a relevant issue. please take a look https://github.com/Azure/azure-functions-host/issues/912

yokawasa commented 5 years ago

@antonioschaffert I'm closing the issue. But please feel free to open if you need further discussion