code: def __init__(self):
      self.state = None
  
file_path: flink/flink-python/pyflink/examples/datastream/state_access.py
imports: from pyflink.common import Time
  from pyflink.common.typeinfo import Types
  from pyflink.datastream import StreamExecutionEnvironment
  from pyflink.datastream.functions import KeyedProcessFunction, RuntimeContext
  from pyflink.datastream.state import ValueStateDescriptor, StateTtlConfig
label_desc: Use image node_id 1 to create a new Sum object from inherited base classes: KeyedProcessFunction with example: obj = Sum()