class_docstr: This interface provides a standard way of attaching environment events to the log statistics system.
  
  Implement this interface in the environment to activate the statistics support.
docstr: If available, return an instance of a KPI calculator that can be used to calculate KPIs
  from events at the end of episode.
  
  :return KPI calculator or None if KPIs are not supported in this env.
docstr_tok: ["If","available",",","return","an","instance","of","a","KPI","calculator","that","can","be","used","to","calculate","KPIs","from","events","at","the","end","of","episode",".",":","return","KPI","calculator","or","None","if","KPIs","are","not","supported","in","this","env","."]
code: def get_kpi_calculator(self) -> Optional[KpiCalculator]:
      """If available, return an instance of a KPI calculator that can be used to calculate KPIs
      from events at the end of episode.
  
      :return KPI calculator or None if KPIs are not supported in this env.
      """
  
file_path: maze/maze/core/env/event_env_mixin.py
imports: from abc import ABC, abstractmethod
  from typing import Iterable, Optional
  from maze.core.events.event_record import EventRecord
  from maze.core.log_events.kpi_calculator import KpiCalculator
label_desc: Use image node_id 2 for calling the EventEnvMixin obj's underlying member method code with example usage: obj.get_kpi_calculator() without return types