- changed status to resolved
parse None/True/False in engine_from_config (for pool_reset_on_return)
Issue #3375
resolved
engine_from_config doesn't translate .ini true/false/None values to their python counterparts which means "pool_reset_on_return = None" doesn't work. (only 'commit' or 'rollback')
Comments (4)
-
repo owner -
repo owner - Added the string value
"none"
to those accepted by the :paramref:.Pool.reset_on_return
parameter as a synonym forNone
, so that string values can be used for all settings, allowing .ini file utilities like :func:.engine_from_config
to be usable without issue. fixes#3375
(cherry picked from commit c2e3002503242331fc8f2b314e0d4f3c65de9d73)
→ <<cset 384c885ed078>>
- Added the string value
-
repo owner -
repo owner thanks for reporting!
- Log in to comment
"none"
to those accepted by the :paramref:.Pool.reset_on_return
parameter as a synonym forNone
, so that string values can be used for all settings, allowing .ini file utilities like :func:.engine_from_config
to be usable without issue. fixes#3375→ <<cset c2e300250324>>