class_docstr: Context of window.
class_docstr_tok: ["Context","of","window","."]
code: def get_partitioned_state(
      self, state_descriptor: StateDescriptor
  ) -> State:
      return self._trigger_context.get_partitioned_state(
          state_descriptor
      )
  
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 2 for calling the WindowContext obj's underlying member method code with example usage: obj.get_partitioned_state(state_descriptor) and returns: self