BTW, Without the @targets_cell decorator:
1. (before casting)API context.db_connection in api is **cell1** db connection.
I print api context before casting:
context.db_connection._root._root_factory.__dict__ ==>'connection': u'mysql+pymysql://root:1@127.0.0.1/nova_cell1
2. (after casting)Super-Conductor context.db_connection is None.
BTW, Without the @targets_cell decorator: db_connection in api is **cell1** db connection. db_connection. _root._ root_factory. __dict_ _ ==>'connection': u'mysql+ pymysql: //root: 1@127.0. 0.1/nova_ cell1
1. (before casting)API context.
I print api context before casting:
context.
2. (after casting) Super-Conductor context. db_connection is None.