Importing oslo_db.sqlalchemy and create_engine() issue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.db |
Fix Released
|
Medium
|
Joshua Harlow |
Bug Description
It appears the following may be happening due to invalid imports/order?
>>> from oslo_db.sqlalchemy import engines
>>> u = "sqlite:
>>> engines.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "oslo_db/
connection_
File "oslo_db/
self.
File "oslo_db/
return self._dispatch_
File "oslo_db/
if self._invoke_fn(fn, arg, kw) is not None:
File "oslo_db/
return fn(*arg, **kw)
File "oslo_db/
_add_
File "oslo_db/
os.
KeyError: 'oslo_db.tests'
Changed in oslo.db: | |
assignee: | nobody → Joshua Harlow (harlowja) |
Changed in oslo.db: | |
status: | In Progress → Fix Released |
Fix on review - https:/ /review. openstack. org/#/c/ 221606/