python-firebasin
python-firebasin copied to clipboard
Don't "from <module> import <class> on bare .py files in a package. Instead use __all__
The current implementation breaks on Python 3 because of the way the modules are being imported internally.
Instead of doing:
from firebase import Firebase
you should do:
__all__ = ['firebase']
This fixes Python 3's ability to import the module.