MCPcopy
hub / github.com/encode/starlette / get

Method get

tests/test_applications.py:49–50  ·  tests/test_applications.py::Homepage.get
(self, request: Request)

Source from the content-addressed store, hash-verified

47
48class Homepage(HTTPEndpoint):
49 def get(self, request: Request) -> PlainTextResponse:
50 return PlainTextResponse(class="st">"Hello, world!")
51
52
53def all_users_page(request: Request) -> PlainTextResponse:

Callers 14

test_func_routeFunction · 0.45
test_async_routeFunction · 0.45
test_class_routeFunction · 0.45
test_mounted_routeFunction · 0.45
test_subdomain_routeFunction · 0.45
test_400Function · 0.45
test_500Function · 0.45
test_request_stateFunction · 0.45
test_middlewareFunction · 0.45
test_app_mountFunction · 0.45
test_app_debugFunction · 0.45

Calls 1

PlainTextResponseClass · 0.90

Tested by

no test coverage detected