__init__.py 407 B

123456789101112131415161718192021
  1. try:
  2. from .sqlite import SQLite
  3. except ImportError:
  4. SQLite = None
  5. try:
  6. from .postgresql import PostgresqlDatabase
  7. except ImportError:
  8. PostgresqlDatabase = None
  9. try:
  10. from .mysql import MySQLDatabase
  11. except ImportError:
  12. MySQLDatabase = None
  13. try:
  14. from .mongodb import MongoDB
  15. except ImportError:
  16. MongoDB = None
  17. __all__ = [SQLite, PostgresqlDatabase, MySQLDatabase, MongoDB]