class_docstr: A stateless singleton that proxies ``st.query_params`` interactions
  to the current script thread's QueryParams instance.
class_docstr_tok: ["A","stateless","singleton","that","proxies","``","st.query_params","``","interactions","to","the","current","script","thread","'s","QueryParams","instance","."]
docstr: Get all query parameters as a dictionary.
  
  When a key is repeated as a query parameter within the URL, this method
  will return only the last value of each unique key.
  
  Returns
  -------
  Dict[str,str]
      A dictionary of the current query paramters in the app's URL.
docstr_tok: ["Get","all","query","parameters","as","a","dictionary",".","When","a","key","is","repeated","as","a","query","parameter","within","the","URL",",","this","method","will","return","only","the","last","value","of","each","unique","key",".","Returns","--","--","--","-","Dict","[","str",",","str","]","A","dictionary","of","the","current","query","paramters","in","the","app","'s","URL","."]
code: def to_dict(self) -> Dict[str, str]:
      """
      Get all query parameters as a dictionary.
  
      When a key is repeated as a query parameter within the URL, this method
      will return only the last value of each unique key.
  
      Returns
      -------
      Dict[str,str]
          A dictionary of the current query paramters in the app's URL.
      """
      with get_session_state().query_params() as qp:
          return qp.to_dict()
  
file_path: streamlit/lib/streamlit/runtime/state/query_params_proxy.py
imports: from typing import Dict, Iterable, Iterator, List, MutableMapping, Union
  from streamlit.runtime.metrics_util import gather_metrics
  from streamlit.runtime.state.query_params import missing_key_error_message
  from streamlit.runtime.state.session_state_proxy import get_session_state
label_desc: Use image node_id 11 for calling the QueryParamsProxy obj's underlying member method code with example usage: obj.to_dict() and returns: qp