(self, sid, namespace=None)
return self.server.session(sid, namespace=namespace or self.namespace)
Return the user session for a client with context manager syntax.

        The only difference with the :func:`socketio.Server.session` method is
        that when the ``namespace`` argument is not given the namespace
        associated with the class is used.
Return the user session for a client with context manager syntax.
Return the user session for a client with context manager syntax .
def session(self, sid, namespace=None):
        """Return the user session for a client with context manager syntax.

        The only difference with the :func:`socketio.Server.session` method is
        that when the ``namespace`` argument is not given the namespace
        associated with the class is used.
        """
        return self.server.session(sid, namespace=namespace or self.namespace)
def session ( self , sid , namespace = None ) : return self . server . session ( sid , namespace = namespace or self . namespace )