DBAPIError: (Connection failed) (TypeError) a float is required
Issue #544
resolved
sqlalchemy.create_engine('sqlite:///db.sqlite?isolation_level=IMMEDIATE&timeout=11')
the error "DBAPIError: (Connection failed) (TypeError) a float is required"
will raise up if I using number as param in URL presentation when connect,
but it works if I use standard connect_args to do so
Comments (3)
-
repo owner -
- changed status to resolved
'timeout' (et al) in the URL is now being converted to the proper type. fixed in changeset:2523
-
repo owner - removed milestone
Removing milestone: 0.4.0 (automated comment)
- Log in to comment
the approach on this will be similar to that used in mysql.py:
source:/sqlalchemy/trunk/lib/sqlalchemy/databases/mysql.py@2509#L285
also, maybe we should throw that
coercetype
function into util.py.