Python Forum
Azure Function App Configuration Settings
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Azure Function App Configuration Settings
#1
I'm fairly novice with Python, but looking for examples of how to retrieve a value in the configuration settings within an Azure Functions App. This python code will be deployed as a function of this functions app and I want to retrieve a connection string from a configuration setting.
Reply
#2
I'm not an Azure user, but generally the way these platforms expose settings to your application is via environment variables (see, e.g. this that I found for Azure). The variable environ in the os module (docs here) is basically a dict containing the environment variables and their values that are passed to an application.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  XAMPP Configuration of Python lavanyadeepak 1 1,356 Mar-19-2023, 02:52 PM
Last Post: snippsat
  Configuration file through helm charts saisankalpj 0 1,720 Aug-23-2022, 01:32 PM
Last Post: saisankalpj
  Flask web app on Azure help dangermaus33 2 2,636 Aug-10-2021, 12:04 PM
Last Post: kashcode
  Python Desktop Application that will connect o Azure SQL Database thewolf 7 4,504 Feb-26-2021, 01:33 AM
Last Post: thewolf
  Can not point to Selenium Webdriver path for Python Jupyter Notebook on Azure dadadance 4 10,049 Jul-31-2019, 10:00 PM
Last Post: perfringo
  paths in django 'settings.py' nzcan 0 2,410 Oct-19-2018, 04:51 AM
Last Post: nzcan
  [Selenium] Element Visible / Invisible | Delay - Best Settings? digitalmatic7 2 6,216 Nov-19-2017, 03:54 PM
Last Post: digitalmatic7
  location settings for Django Uwsgi Nginx Configuration for production sandyman 0 2,963 Sep-15-2017, 09:08 AM
Last Post: sandyman

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020