code: def __init__(self) -> None:
      self._request_var: contextvars.ContextVar[
          ServiceContext.RequestContext
      ] = contextvars.ContextVar("request")
      self._response_var: contextvars.ContextVar[
          ServiceContext.ResponseContext
      ] = contextvars.ContextVar("response")
      # A dictionary for storing global state shared by the process
      self.state: dict[str, t.Any] = {}
  
imports: from __future__ import annotations
  import contextlib
  import contextvars
  import os
  import typing
  from abc import ABC
  from abc import abstractmethod
  from typing import TYPE_CHECKING
  import attr
  import starlette.datastructures
  from .utils.http import Cookie
label_desc: Use image node_id 1 to create a new ServiceContext object  with example: obj = ServiceContext()