[Sqlalchemy-tickets] [sqlalchemy] #2875: attempt to improve the system by which engine_from_config
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2013-11-26 00:07:18
|
#2875: attempt to improve the system by which engine_from_config locates keys w/
special values
-------------------------+---------------------------------------
Reporter: zzzeek | Owner: zzzeek
Type: enhancement | Status: new
Priority: high | Milestone: 0.9.0
Component: engine | Severity: minor - half an hour
Keywords: | Progress State: in queue
-------------------------+---------------------------------------
without resorting to just detecting ints, "True"/ "False" etc., if
dialects could somehow register additional keywords to be used by the
`_coerce_config()` method, that would help a lot. I think just let them
register their words and we kind of assume two dialects either don't use
the same kw, or if they do, they have the same type. We're dealing mostly
with booleans, should be OK.
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2875>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|