lte/gateway/python/magma/captive_portal/rpc_servicer.py
def UpdateSession(
            self,
            request: UpdateSessionRequest,
            context,
    ) -> UpdateSessionResponse:
        """
        On UpdateSession, return an arbitrarily large amount of additional
        credit for the session.
        """
        logging.debug('Updating sessions')
        resp = UpdateSessionResponse()
        for credit_usage_update in request.updates:
            resp.responses.extend(
                [self._get_credit_update_response(credit_usage_update.sid)],
            )
        return resp

        On UpdateSession, return an arbitrarily large amount of additional
        credit for the session.
        
On UpdateSession, return an arbitrarily large amount of additional
credit for the session.
On UpdateSession return an arbitrarily large amount of additional credit for the session .
def UpdateSession(
            self,
            request: UpdateSessionRequest,
            context,
    ) -> UpdateSessionResponse:
        logging.debug('Updating sessions')
        resp = UpdateSessionResponse()
        for credit_usage_update in request.updates:
            resp.responses.extend(
                [self._get_credit_update_response(credit_usage_update.sid)],
            )
        return resp
def UpdateSession ( self , request : UpdateSessionRequest , context , ) -> UpdateSessionResponse : logging . debug ( 'Updating sessions' ) resp = UpdateSessionResponse ( ) for credit_usage_update in request . updates : resp . responses . extend ( [ self . _get_credit_update_response ( credit_usage_update . sid ) ] , ) return resp
On UpdateSession, return an arbitrarily large amount of additional
credit for the session.
On UpdateSession return an arbitrarily large amount of additional credit for the session .
"""
        On UpdateSession, return an arbitrarily large amount of additional
        credit for the session.
        """
self
request
UpdateSessionRequest
context