79387214

Date: 2025-01-25 17:57:15
Score: 1.5
Natty:
Report link

I think the load_dotenv function fetches the environment variable's cached value. It can be resolved by enabling an override prop in the load_dotenv function.

using this you can fetch the correct value whenever it is updated in the correct order, I think this will help(taken from the docs of python dotenv - https://pypi.org/project/python-dotenv/) -

enter image description here

load_dotenv(override=True)
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vikas Kushwaha