Closed mateusz-koziel closed 1 year ago
@rth Please review.
Thanks for the proposal! Why can't you set it at runtime without using an env variable?
import pgeocode
pgeocode.DOWNLOAD_URL = ["<your-url>"]
So overall I'm not sure what's the use case for this. Another issue with the current implementation is that DOWNLOAD_URL is a list while an env variable is a string, so it would need to be converted to a list somehow.
Closing, as I'm not convinced by this use. However don't hesitate to comment if you disagree.
Add usage value of PGEOCODE_DOWNLOAD_URL environment variable as DOWNLOAD_URL. If variable does not exist, DOWNLOAD_URL is set up as was until now, with default web-links.