MCPcopy Create free account
hub / github.com/Vinyzu/Botright / reset

Method reset

tests/server.py:174–180  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

172 self.csp[path] = value
173
174 def reset(self) -> None:
175 if self.request_subscribers:
176 self.request_subscribers.clear()
177 self.auth.clear()
178 self.csp.clear()
179 self.gzip_routes.clear()
180 self.routes.clear()
181
182 def set_route(self, path: str, callback: Callable[[TestServerRequest], Any]) -> None:
183 self.routes[path] = callback

Callers 1

resetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected