pynsee icon indicating copy to clipboard operation
pynsee copied to clipboard

Move OSM and personal data warnings

Open tfardet opened this issue 2 years ago • 3 comments

At the moment, the _warning_OSM and _warning_search_sirene functions are used to display warnings about legal implications.

This is probably not the best way to warn users and we should discuss how to handle it (probably in the docstrings and possibly also somewhere else in the README and/or the documentation).

EDIT: regarding SIRENE, it was decided to keep the warning in the code; for OSM, "info" logging level was used so it would be good to add the license information in the documentation and docstrings

tfardet avatar May 16 '23 11:05 tfardet

_warning_OSM could be removed as OSM data contains a column describing the Licence and OSM is mentioned in the function's doc.

_warning_search_sirene appears only once per Python session. Personal data is a sensitive topic and all users should be aware of it by default without going through package's doc. It should be considered as a warning while using logger.

hadrilec avatar May 20 '23 08:05 hadrilec

Is this issue still relevant? or did we tackle all points mentioned?

hadrilec avatar Jun 06 '23 09:06 hadrilec

Regarding OSM, we thought that an addition to the documentation and docstring of functions using it would be best; this was not done in #143

For SIRENE, I think it's fine, we kept it as a warning.

tfardet avatar Jun 06 '23 12:06 tfardet