MCPcopy Create free account
hub / github.com/Mercury7353/PyBench / _enforce_trailing_slash

Method _enforce_trailing_slash

llms/api_key_pool.py:141–144  ·  view source on GitHub ↗
(self, url: str)

Source from the content-addressed store, hash-verified

139 return not self.__lt__(other)
140
141 def _enforce_trailing_slash(self, url: str) -> str:
142 if not url.endswith("/"):
143 url += "/"
144 return url
145
146 def update(self, usage: Dict[str, int]) -> "Resource":
147 current_time = time.time()

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected