upgrade ProxyEngine to deliver ProxyConnection, ProxyTransaction, etc.

Issue #511 resolved
Mike Bayer repo owner created an issue

ProxyEngine has fallen way behind and is still in 0.1 land. the execution of SQL now occurs within Connection. ProxyEngine should be upgraded to be aware of this and provide a better "proxying" solution, perhaps something like:

class MyEngine(ProxyEngine):
     class MyConnection(ProxyConnection):
         def execute(self, ...):
              # override execute

ProxyEngine will be smart enough to look within itself to locate the MyConnection class and use that as the connection object it produces. or something like that, doenst have to be that slick but would be nice.

Comments (6)

  1. Mike Bayer reporter

    OK this first attachment requires a monkeypatch. lets see if theres a way to not have it do that, which if necessary may mean adding a hook to Engine.

  2. Mike Bayer reporter
    • changed milestone to 0.4.xx
    • assigned issue to

    this could be taken by #682, or could be taken to mean the same thing. in any case, put some thought into this as it may require rearrangement of base.py.

  3. Log in to comment