(cls)
| 5 | connections = {} |
| 6 | @classmethod |
| 7 | def tell_format(cls): |
| 8 | return "Format: (postgresql|mysql)://username:password@hostname/dbname, or one of %s" \ |
| 9 | % str(cls.connections.keys()) |
| 10 | def __init__(self, connect_str=None): |
| 11 | try: |
| 12 | engine = sqlalchemy.create_engine(connect_str) |