code: def as_keyed_widget_id(raw_wid, key):
      return f"{GENERATED_WIDGET_ID_PREFIX}-{raw_wid}-{key}"
  
file_path: streamlit/lib/tests/streamlit/runtime/state/strategies.py
imports: from hypothesis import strategies
  from streamlit.runtime.state.common import GENERATED_WIDGET_ID_PREFIX
  from streamlit.runtime.state.session_state import SessionState, WidgetMetadata
label_desc: Use image node_id 1 for calling a global function with example usage: as_keyed_widget_id(raw_wid, key) and returns: GENERATED_WIDGET_ID_PREFIX, str, raw_wid, str, key