better engine.url.translate_connect_args() and related

Issue #742 resolved
Former user created an issue

engine.url. * def translate_connect_args(self, names): this assumes the order of passed names matches the order of attribute_names inside... very fragile. i suggest using set of kwargs like (attr_name=replacement_name), then just use the non empty ones. Fixed also several usage-related omissions.

  • def _parse_rfc1738_args(): the 'opts' dict is redundant, args can be just passed to URL( name=value)

Comments (2)

  1. Log in to comment