AppEnlight/appenlight-client-python

Investigate if some versions of pg8000 fail to get decorated properly

Closed this issue · 0 comments

ergo commented
  File "/home/affiliate/python/lib/python2.7/site-packages/appenlight_client/client.py", line 625, in make_appenlight_middleware
    client = Client(config)
  File "/home/affiliate/python/lib/python2.7/site-packages/appenlight_client/client.py", line 197, in __init__
    appenlight_client.timing.register_timing(self.config)
  File "/home/affiliate/python/lib/python2.7/site-packages/appenlight_client/timing/__init__.py", line 162, in register_timing
    dbapi2.add_timing(mod, min_time)
  File "/home/affiliate/python/lib/python2.7/site-packages/appenlight_client/timing/timing_dbapi2.py", line 178, in add_timing
    if hasattr(module.DBAPI.connect, '_e_attached_wrapper'):
AttributeError: 'module' object has no attribute 'DBAPI'