yanniskatsaros / faro

An SQL-focused data analysis library for Python.
MIT License
6 stars 5 forks source link

Add props #9

Closed dsfulf closed 4 years ago

dsfulf commented 4 years ago

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.

yanniskatsaros commented 4 years ago

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.