spine-tools / Spine-Database-API

Database interface to Spine generic data model
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
6 stars 5 forks source link

Make SqlAlchemyConnector work with database schemas #315

Closed soininen closed 7 months ago

soininen commented 7 months ago

It is now possible to pass database schema to SqlAlchemyConnector.connect_to_source()

Re spine-tools/Spine-Toolbox#2329

Checklist before merging

codecov-commenter commented 7 months ago

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (cc90681) 76.97% compared to head (9767aaa) 76.85%.

Files Patch % Lines
...edb_api/spine_io/importers/sqlalchemy_connector.py 40.00% 6 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 0.8-dev #315 +/- ## =========================================== - Coverage 76.97% 76.85% -0.12% =========================================== Files 74 74 Lines 9181 9187 +6 Branches 1949 1950 +1 =========================================== - Hits 7067 7061 -6 - Misses 1780 1790 +10 - Partials 334 336 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.