Every line of 'request python' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
119 def python_request(functor, args = [], wait_for_completion = True, callback = None): 120 """ 121 :param callback: an (optional) callback that is called when the action is completed. 122 """ 123 return {"name": functor.__name__, 124 "middleware": "python", 125 "functor": functor, 126 "args": args, 127 "wait_for_completion": wait_for_completion, 128 "callback": callback}
Secure your code as it's written. Use Snyk Code to scan source code in minutes – no build needed – and fix issues immediately. Enable Snyk Code