MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / get_endpoint

Method get_endpoint

fastdeploy/inter_communicator/fmq.py:110–117  ·  view source on GitHub ↗
(cls, name: str)

Source from the content-addressed store, hash-verified

108
109 @classmethod
110 def get_endpoint(cls, name: str) -> Endpoint:
111 # Retrieve endpoint object
112 if name in cls.config.endpoints:
113 return cls.config.endpoints[name]
114
115 # Fallback: auto-generate endpoint
116 address = f"{cls.config.ipc_root}/fmq_{name}.ipc"
117 return Endpoint(protocol="ipc", address=address)
118
119
120# ==========================

Callers 2

__init__Method · 0.80
__init__Method · 0.80

Calls 1

EndpointClass · 0.85

Tested by

no test coverage detected