jina.serve.runtimes.gateway.graph.topology_graph module

    Bases:

    • :class TopologyGraph is a class that describes a computational graph of nodes, where each node represents

      a Deployment that needs to be sent requests in the order respecting the path traversal.

    • add_routes(request)[source]

      Add routes to the DataRequest based on the state of request processing

    • property origin_nodes

      The list of origin nodes, the one that depend only on the gateway, so all the subgraphs will be born from them and they will send to their deployments the request as received by the client.