Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@staticmethod
def recover_client(id):
if JupyterClient._clients.get(id):
return JupyterClient._clients.get(id)
else:
return JupyterClient(id)
@staticmethod
def recover_client(id):
if JupyterClient._clients.get(id):
return JupyterClient._clients.get(id)
else:
return JupyterClient(id)