Unused code.

This commit is contained in:
Reid 'arrdem' McKenzie 2022-11-20 22:41:51 -07:00
parent 1c41b6dca4
commit b86caa7fe6

View file

@ -487,35 +487,6 @@ class Response(AiohttpResponse):
self.headers["Location"] = value self.headers["Location"] = value
class View(AiohttpView):
async def _iter(self):
if self.request.method not in METHODS:
self._raise_allowed_methods()
method = getattr(self, self.request.method.lower(), None)
if method is None:
self._raise_allowed_methods()
return await method(**self.request.match_info)
@property
def app(self):
return self._request.app
@property
def cache(self):
return self.app.cache
@property
def config(self):
return self.app.config
@property
def database(self):
return self.app.database
class WKNodeinfo(DotDict): class WKNodeinfo(DotDict):
@classmethod @classmethod
def new(cls, v20, v21): def new(cls, v20, v21):