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
100 stars 25 forks source link

Add row_factories import to __init__ #173

Closed leorudczenko closed 1 year ago

leorudczenko commented 1 year ago

Summary

This merge request fixes a small issue which helps code editors to provide productivity improvements for etlhelper.row_factories.

Description

Currently, etlhelper.row_factories is accessed directly from etlhelper/row_factories.py, it is not imported in any __init__ files. Whilst the submodule is accessible, code editors (e.g., VSCode) cannot provide productivity improvements for this submodule:

image

To solve this, the following has been done:

volcan01010 commented 1 year ago

This works nicely. It's a small addition and not breaking anything, so I'll merge into main instead.