Closed a-sharma06 closed 2 years ago
@lyralan @milicag @0xd5dc
@a-sharma06 Thanks for identifying and reporting the issue. @lyralan Is this something you can tackle? It looks like it could be a simple fix.
@milicag It should be an easy fix, and I can make edits accordingly.
BTW, the PR that @a-sharma06 found for to_python.Db
has a version number v1.2.2. However, I didn't see a tag for v.1.2.2 when I made commits for to_python.Excel
, which should not be related to this issue.
I'm going to add a test for this case as well.
In the
load
function of classDb
, duplicates ofkeys
are being checked for. https://github.com/LBNL-ETA/Adapter/blob/master/adapter/to_python.py#L283However, the docstring indicates that only
table_names
will be read from the database. Therefore, only duplicates oftable_names
should be checked for.For reference, this issue didn't exist in v1.2.1.