/usr/share/cagefs-skeleton/opt/cloudlinux/venv/lib/python3.11/site-packages/aiohttp
cdef class reify: """Use as a class method decorator. It operates almost exactly like the Python `@property` decorator, but it puts the result of the method it decorates into the instance dict after the first call, effectively replacing the function it decorates with an instance variable. It is, in Python parlance, a data descriptor. """ cdef object wrapped cdef object name def __init__(self, wrapped): self.wrapped = wrapped self.name = wrapped.__name__ @property def __doc__(self): return self.wrapped.__doc__ def __get__(self, inst, owner): try: try: return inst._cache[self.name] except KeyError: val = self.wrapped(inst) inst._cache[self.name] = val return val except AttributeError: if inst is None: return self raise def __set__(self, inst, value): raise AttributeError("reified property is read-only")
.
Edit
..
Edit
.hash
Edit
__init__.py
Edit
__pycache__
Edit
_cparser.pxd
Edit
_find_header.pxd
Edit
_headers.pxi
Edit
_helpers.cpython-311-x86_64-linux-gnu.so
Edit
_helpers.pyi
Edit
_helpers.pyx
Edit
_http_parser.cpython-311-x86_64-linux-gnu.so
Edit
_http_parser.pyx
Edit
_http_writer.cpython-311-x86_64-linux-gnu.so
Edit
_http_writer.pyx
Edit
_websocket.cpython-311-x86_64-linux-gnu.so
Edit
_websocket.pyx
Edit
abc.py
Edit
base_protocol.py
Edit
client.py
Edit
client_exceptions.py
Edit
client_proto.py
Edit
client_reqrep.py
Edit
client_ws.py
Edit
compression_utils.py
Edit
connector.py
Edit
cookiejar.py
Edit
formdata.py
Edit
hdrs.py
Edit
helpers.py
Edit
http.py
Edit
http_exceptions.py
Edit
http_parser.py
Edit
http_websocket.py
Edit
http_writer.py
Edit
locks.py
Edit
log.py
Edit
multipart.py
Edit
payload.py
Edit
payload_streamer.py
Edit
py.typed
Edit
pytest_plugin.py
Edit
resolver.py
Edit
streams.py
Edit
tcp_helpers.py
Edit
test_utils.py
Edit
tracing.py
Edit
typedefs.py
Edit
web.py
Edit
web_app.py
Edit
web_exceptions.py
Edit
web_fileresponse.py
Edit
web_log.py
Edit
web_middlewares.py
Edit
web_protocol.py
Edit
web_request.py
Edit
web_response.py
Edit
web_routedef.py
Edit
web_runner.py
Edit
web_server.py
Edit
web_urldispatcher.py
Edit
web_ws.py
Edit
worker.py
Edit