parameters: (self, key, default=None, secret=None)
return_statement: return value or default
docstring: Return the content of a cookie. To read a `Signed Cookie`, the
              `secret` must match the one used to create the cookie (see
              :meth:`BaseResponse.set_cookie`). If anything goes wrong (missing
              cookie or wrong signature), return a default value.
docstring_summary: Return the content of a cookie. To read a `Signed Cookie`, the
              `secret` must match the one used to create the cookie (see
              :meth:`BaseResponse.set_cookie`). If anything goes wrong (missing
              cookie or wrong signature), return a default value.
docstring_tokens: Return the content of a cookie . To read a Signed Cookie the secret must match the one used to create the cookie ( see : meth : BaseResponse . set_cookie ) . If anything goes wrong ( missing cookie or wrong signature ) return a default value .
function: def get_cookie(self, key, default=None, secret=None):
          """ Return the content of a cookie. To read a `Signed Cookie`, the
              `secret` must match the one used to create the cookie (see
              :meth:`BaseResponse.set_cookie`). If anything goes wrong (missing
              cookie or wrong signature), return a default value. """
          value = self.cookies.get(key)
          if secret and value:
              dec = cookie_decode(value, secret) # (key, value) tuple or None
              return dec[1] if dec and dec[0] == key else default
          return value or default
function_tokens: def get_cookie ( self , key , default = None , secret = None ) : value = self . cookies . get ( key ) if secret and value : dec = cookie_decode ( value , secret ) # (key, value) tuple or None return dec [ 1 ] if dec and dec [ 0 ] == key else default return value or default