def get_current_server_name():
 server = _split_version_id(os.environ['CURRENT_VERSION_ID'])[0]
 if (not server):
  return 'default'
 return server

def get_current_server_name ( ) : server = _split_version_id ( os . environ [ 'CURRENT_VERSION_ID' ] ) [ 0 ] if ( not server ) : return 'default' return server
returns the server name of the current instance .