BritishGeologicalSurvey / etlhelper

ETL Helper is a Python ETL library to simplify data transfer into and out of databases.
https://britishgeologicalsurvey.github.io/etlhelper/
GNU Lesser General Public License v3.0
104 stars 25 forks source link

Add deprecation warning #159

Closed rbroth closed 1 year ago

rbroth commented 1 year ago

Add a warning when module is imported that warns of various deprecation happening in version 1.0.0.

Warning should state that version 1.0.0 is coming soon and will contain deprecations. Users should pin their versions and check GitHub issues for details.

volcan01010 commented 1 year ago

Warning code can be triggered at top of init.py

https://github.com/BritishGeologicalSurvey/etlhelper/blob/main/etlhelper/__init__.py

volcan01010 commented 1 year ago

https://docs.python.org/3/library/exceptions.html#DeprecationWarning