Wow, thanks for all the suggestions, y’all! I ended up going with `python-dotenv` for now since it seemed the simplest for my use case. I set up a `.env` file and loaded the httpx url in settings python using `os.getenv`.
Quick question though—how do you guys handle cases where the URL might change dynamically? Like, if I need to switch between multiple endpoints based on some condition? Should I still stick with env vars or is there a better way?
Thanks again for all the help! Cheers!
Quick question though—how do you guys handle cases where the URL might change dynamically? Like, if I need to switch between multiple endpoints based on some condition? Should I still stick with env vars or is there a better way?
Thanks again for all the help! Cheers!
