Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constant for OpenStreetMap URL #102

Open
xamanu opened this issue Dec 15, 2017 · 2 comments
Open

Constant for OpenStreetMap URL #102

xamanu opened this issue Dec 15, 2017 · 2 comments

Comments

@xamanu
Copy link
Contributor

xamanu commented Dec 15, 2017

Currently we are using hardcoded urls in every status/warning/error message to OpenStreetMap https://osm.org/. @ialokim suggests in #99 (comment):

we should use an static variable to not hardcode the same url over and over again

@xamanu
Copy link
Contributor Author

xamanu commented Dec 15, 2017

Using a static variable or a global constant and how to handle those concepts in Python is not completely clear to me. A quick research got me to the point, that we probably will need some kind of const class, which could bring a lot of good opportunities.

@xamanu
Copy link
Contributor Author

xamanu commented Apr 4, 2018

@grote do you think a "const class" is the right way to go?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant