parameters: (cls, request, key="session", secret_key=None)
return_statement: return cls.unserialize(data, secret_key)
docstring: Load a :class:`SecureCookie` from a cookie in the request. If
          the cookie is not set, a new :class:`SecureCookie` instance is
          returned.
  
          :param request: A request object that has a `cookies` attribute
              which is a dict of all cookie values.
          :param key: The name of the cookie.
          :param secret_key: The secret key used to unquote the cookie.
              Always provide the value even though it has no default!
docstring_summary: Load a :class:`SecureCookie` from a cookie in the request. If
          the cookie is not set, a new :class:`SecureCookie` instance is
          returned.
docstring_tokens: Load a : class : SecureCookie from a cookie in the request . If the cookie is not set a new : class : SecureCookie instance is returned .
function: def load_cookie(cls, request, key="session", secret_key=None):
          """Load a :class:`SecureCookie` from a cookie in the request. If
          the cookie is not set, a new :class:`SecureCookie` instance is
          returned.
  
          :param request: A request object that has a `cookies` attribute
              which is a dict of all cookie values.
          :param key: The name of the cookie.
          :param secret_key: The secret key used to unquote the cookie.
              Always provide the value even though it has no default!
          """
          data = request.cookies.get(key)
  
          if not data:
              return cls(secret_key=secret_key)
  
          return cls.unserialize(data, secret_key)
function_tokens: def load_cookie ( cls , request , key = "session" , secret_key = None ) : data = request . cookies . get ( key ) if not data : return cls ( secret_key = secret_key ) return cls . unserialize ( data , secret_key )