class_docstr: Creates Tensorflow Examples from the provided Google Analytics session.
code: def process(self, entry: Dict[str, Any]):
      session = entry["hits"]
      session.sort(key=lambda s: s["hitNumber"])
      filtered_session = []
      for s in session:
          if filtered_session and is_duplicate_event(
              filtered_session[-1], s
          ):
              continue
          filtered_session.append(s)
      return ga_session_to_tensorflow_examples(filtered_session)
  
file_path: tfx/tfx/examples/tfjs_next_page_prediction/bigquery_beam_data_generation.py
imports: from typing import Any, Dict, List, Union
  import apache_beam
  from apache_beam.io.gcp.internal.clients import bigquery
  import tensorflow
label_desc: Use image node_id 1 for calling the ExampleGeneratingDoFn obj's underlying member method code with example usage: obj.process(entry) and returns: ga_session_to_tensorflow_examples