docstr: Updates current context name, using object name and id
  Previous context names are stored on lower levels of stack
docstr_tok: ["Updates","current","context","name",",","using","object","name","and","id","Previous","context","names","are","stored","on","lower","levels","of","stack"]
code: def set_context(self, object_type: str = None, object_id: int = None):
      """
      Updates current context name, using object name and id
      Previous context names are stored on lower levels of stack
      """
      try:
          context_stack = ctx.context_stack or []
      except AttributeError:
          context_stack = []
      context_stack.append(
          self.gen_context_name(object_type, object_id)
      )
      ctx.context_stack = context_stack
  
imports: from typing import List
  import pandas
  from mindsdb_sql.parser.ast import Identifier, BinaryOperation, Last, Constant, ASTNode
  from mindsdb_sql.planner.utils import query_traversal
  from mindsdb.interfaces.storage import db
  from mindsdb.utilities.context import context
  from .last_query import LastQuery
label_desc: Use image node_id 7 for calling the QueryContextController obj's underlying member method code with example usage: obj.set_context(object_type, object_id) without return types