class_docstr: WindowAssigner that windows elements into sessions based on the timestamp. Windows cannot
  overlap.
class_docstr_tok: ["WindowAssigner","that","windows","elements","into","sessions","based","on","the","timestamp",".","Windows","can","not","overlap","."]
code: def __init__(self, session_gap: int, is_event_time: bool):
      self._session_gap = session_gap
      self._is_event_time = is_event_time
  
imports: import math
  from abc import ABC, abstractmethod
  from typing import Generic, List, Any, Iterable, Set
  from pyflink.common.typeinfo import Types
  from pyflink.datastream.state import ValueStateDescriptor, ValueState
  from pyflink.datastream.window import TimeWindow, CountWindow
  from pyflink.fn_execution.table.window_context import Context, W
label_desc: Use image node_id 1 to create a new SessionWindowAssigner object from inherited base classes: MergingWindowAssigner with example: obj = SessionWindowAssigner(session_gap, is_event_time)