class_docstr: For now, we assume every group has only one logic expression.
class_docstr_tok: ["For","now",",","we","assume","every","group","has","only","one","logic","expression","."]
code: def get_group_by_id(self, group_id: int) -> GroupExpression:
      if group_id in self._groups.keys():
          return self._groups[group_id]
      else:
          logger.error("Missing group id")
  
file_path: evadb/evadb/optimizer/memo.py
imports: from typing import Dict, List
  from evadb.constants import UNDEFINED_GROUP_ID
  from evadb.optimizer.group import Group
  from evadb.optimizer.group_expression import GroupExpression
  from evadb.optimizer.operators import OperatorType
  from evadb.utils.logging_manager import logger
label_desc: Use image node_id 5 for calling the Memo obj's underlying member method code with example usage: obj.get_group_by_id(group_id) and returns: self