class_docstr: A lightweight wrapper of a dict that sends forwardMsgs when state changes.
  It stores str keys with str and List[str] values.
class_docstr_tok: ["A","lightweight","wrapper","of","a","dict","that","sends","forwardMsgs","when","state","changes",".","It","stores","str","keys","with","str","and","List","[","str","]","values","."]
code: def clear(self) -> None:
      new_query_params = {}
      for key, value in self._query_params.items():
          if key in EMBED_QUERY_PARAMS_KEYS:
              new_query_params[key] = value
      self._query_params = new_query_params
  
      self._send_query_param_msg()
  
imports: from dataclasses import dataclass, field
  from typing import Dict, Iterable, Iterator, List, MutableMapping, Union
  from urllib import parse
  from streamlit.constants import EMBED_QUERY_PARAMS_KEYS
  from streamlit.errors import StreamlitAPIException
  from streamlit.proto.ForwardMsg_pb2 import ForwardMsg
label_desc: Use image node_id 8 for calling the QueryParams obj's underlying member method code with example usage: obj.clear() without return types