clay
clay copied to clipboard
Invalid assertion
Consider the following check:
https://github.com/uber/clay/blob/master/clay/database.py#L18
This line should be written as:
if dbapi_name not in ('psycopg2', 'MySQLdb', 'sqlite3'):
not dbapi_name
will evaluate to a boolean, which will never be present in the tuple.