cugraph_service_server.cugraph_handler.ExtensionServerFacade#

class cugraph_service_server.cugraph_handler.ExtensionServerFacade(cugraph_handler)[source]#

Instances of this class are passed to server extension functions to be used to access various aspects of the cugraph_service_client server from within the extension. This provideas a means to insulate the CugraphHandler (considered here to be the “server”) from direct access by end user extensions, allowing extension code to query/access the server as needed without giving extensions the ability to call potentially unsafe methods directly on the CugraphHandler.

An example is using an instance of a ExtensionServerFacade to allow a Graph creation extension to query the SG/MG state the server is using in order to determine how to create a Graph instance.

Attributes:
is_multi_gpu

Methods

add_graph

get_graph

get_graph_ids

get_server_info

__init__(cugraph_handler)[source]#

Methods

__init__(cugraph_handler)

add_graph(G)

get_graph(graph_id)

get_graph_ids()

get_server_info()

Attributes

is_multi_gpu