class_docstr: Context of window.
class_docstr_tok: ["Context","of","window","."]
code: def __init__(
      self,
      window_operator,
      trigger_context: "TriggerContext",
      state_backend,
      state_value_coder,
      timer_service: LegacyInternalTimerServiceImpl,
      is_event_time: bool,
  ):
      self._window_operator = window_operator
      self._trigger_context = trigger_context
      self._state_backend = state_backend
      self.timer_service = timer_service
      self.is_event_time = is_event_time
      self.window_state = self._state_backend.get_value_state(
          "window_state", state_value_coder
      )
  
imports: from abc import ABC, abstractmethod
  from typing import Generic, TypeVar, List, Iterable
  from pyflink.common.constants import MAX_LONG_VALUE
  from pyflink.datastream.state import StateDescriptor, State, ValueStateDescriptor, ListStateDescriptor, MapStateDescriptor
  from pyflink.datastream.window import TimeWindow, CountWindow
  from pyflink.fn_execution.datastream.process.timerservice_impl import LegacyInternalTimerServiceImpl
  from pyflink.fn_execution.coders import from_type_info, MapCoder, GenericArrayCoder
  from pyflink.fn_execution.internal_state import InternalMergingState
label_desc: Use image node_id 1 to create a new WindowContext object from inherited base classes: Context with example: obj = WindowContext(window_operator, trigger_context, state_backend, state_value_coder, timer_service, is_event_time)