def convertObjectArgs(self, objectArgs):
        if isinstance(objectArgs, list):
            return [self.convertObjectArgs(x) for x in objectArgs]

        if isinstance(objectArgs, dict):
            if 'objectDefinition_' in objectArgs:
                obj = self.extractObjectDefinition(objectArgs['objectDefinition_'])
                if 'objectId_' in objectArgs:
                    self.incomingObjectCache.addObjectById(objectArgs['objectId_'], obj)
                return obj

            if objectArgs in 'objectId_':
                obj = self.incomingObjectCache.lookupObjectById(objectArgs['objectId_'])
                return obj

            tr = {}
            for k,v in objectArgs.iteritems():
                tr[k] = self.convertObjectArgs(v)

            return tr

        return objectArgs
dataset/ETHPy150Open ufora/ufora/ufora/BackendGateway/SubscribableWebObjects/MessageProcessor.py/MessageProcessor.convertObjectArgs/swapped operands of `in`