From d37f41f6a51f8cc00cd7dbb978ed16cec7c9bd67 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 18 Oct 2018 10:08:57 -0700 Subject: [PATCH] docstrings --- responder/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/responder/models.py b/responder/models.py index 84e2725..ee7b7b8 100644 --- a/responder/models.py +++ b/responder/models.py @@ -106,6 +106,7 @@ class Request: @property def session(self): + """The session data, in dict form, from the Request.""" if "Responder-Session" in self.cookies: data = self.cookies["Responder-Session"] data = self.api._signer.unsign(data) @@ -253,7 +254,7 @@ class Response: ) #: A Python dictionary of {Key: value}, representing the headers of the response. self.formats = formats self.cookies = {} #: The cookies set in the Response, as a dictionary - self.session = req.session.copy() + self.session = req.session.copy() #: """The *cookie-based* session data, in dict form, to add to the Response.""" @property async def body(self):