Some mypy fixes (and ignores), and added a TableProperties class as Database.table that uses __getattr__ to return any table as a DataFrame, and __setattr__ to call add_table(..., if_exists='replace') for direct assignment via the property.
Also FYI the Travis CI build will fail due to #5 - not a huge deal at the moment (it passes for Python 3.7+), but I will get around to fixing it eventually.
Some mypy fixes (and ignores), and added a
TableProperties
class asDatabase.table
that uses__getattr__
to return any table as a DataFrame, and__setattr__
to calladd_table(..., if_exists='replace')
for direct assignment via the property.