swh.graph.find_context module#

swh.graph.find_context.fqswhid_of_traversal(response, verbose)[source]#

Build the fully qualified SWHID for a gRPC response.

Parameters:
  • response – Response from the gRPC server.

  • verbose – Verbosity.

Returns:

The fully qualified SWHID corresponding to the response from the gRPC server, as a string.

swh.graph.find_context.main(content_swhid, origin_url, all_origins, random_origin, filename, graph_grpc_server, fqswhid, trace)[source]#