Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def promise_eval(self, *args):
"Request a function evaluation and return a promise object."
logger.debug("Returning promise value")
proposal = self.propose_eval(*args)
proposal.promise = self.Promise(self.valueq)
self.proposalq.put(proposal)
return proposal.promise