code: def __init__(self, address: str, request_rewriter: Callable = None):
      self._address = address.rstrip("/")
      self.request_rewriter = request_rewriter
  
file_path: mars/mars/services/session/api/web.py
imports: import json
  from typing import Callable, Dict, List, Union
  from ....utils import parse_readable_size
  from ...web import web_api, MarsServiceWebAPIHandler, MarsWebAPIClientMixin
  from ..core import SessionInfo
  from .core import AbstractSessionAPI
label_desc: Use image node_id 1 to create a new WebSessionAPI object from inherited base classes: AbstractSessionAPI, MarsWebAPIClientMixin with example: obj = WebSessionAPI(address, request_rewriter)