Thank you for providing the patch code. The code can be written concisely as following:
for key in rpc.session.context:
if key not in context:
contex[key] = rpc.session.context[key]
However, I doubt that 'context.update(rpc.session.context)' in the original code base or the above patching code is really needed.
I found that at revision 1417, you yourself introduce the line "context.update(rpc.session.context)", but I don't get what the purpose of it.
Thank you for providing the patch code. The code can be written concisely as following:
for key in rpc.session. context: context[ key]
if key not in context:
contex[key] = rpc.session.
However, I doubt that 'context. update( rpc.session. context) ' in the original code base or the above patching code is really needed. update( rpc.session. context) ", but I don't get what the purpose of it.
I found that at revision 1417, you yourself introduce the line "context.