INNER CODE UNIT · Python

open_session

michaelzhang-ai/Text2Video · venv_vid2vid/lib/python3.7/site-packages/flask/app.py:1070

    def open_session(self, request):
        """Creates or opens a new session.  Default implementation stores all
        session data in a signed cookie.  This requires that the
        :attr:`secret_key` is set.  Instead of overriding this method
        we recommend replacing the :class:`session_interface`.

        .. deprecated: 1.0
            Will be removed in 2.0. Use
            ``session_interface.open_session`` instead.

        :param request: an instance of :attr:`request_class`.
        """

        warnings.warn(
            DeprecationWarning(
                '"open_session" is deprecated and will be removed in'
                ' 2.0. Use "session_interface.open_session" instead.'
            )

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…