Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _livy_session(http_client, properties, ipython_display,
session_id=-1):
return LivySession(http_client, properties, ipython_display,
session_id, heartbeat_timeout=conf.livy_server_heartbeat_timeout_seconds())
def _livy_session(http_client, properties, ipython_display,
session_id=-1, sql_created=None):
return LivySession(http_client, properties, ipython_display,
session_id, sql_created, heartbeat_timeout=conf.livy_server_heartbeat_timeout_seconds())