code: def load_grammar(
      self,
      grammar: TypeList[
          Union[GrammarTerm, HostGrammarTerm, SourceGrammarTerm]
      ],
  ) -> None:
      self.grammar = grammar
  
imports: from __future__ import annotations
  import socket
  from typing import Any
  from typing import Callable
  from typing import Dict
  from typing import List
  from typing import Optional
  from typing import Tuple
  from typing import Union
  from .deps import allowed_hosts
  from .lib import find_available_port
label_desc: Use image node_id 6 for calling the GrammarVerb obj's underlying member method code with example usage: obj.load_grammar(grammar) without return types