code: def initialize_store(test_data):
      """Helper function that sets up a default store with some data in it"""
      global_state.cleanup()
      global_state.use_default_store()
      for data_id in ["1", "2"]:
          global_state.set_data(data_id, test_data)
          global_state.set_dtypes(
              data_id, build_dtypes_state(test_data)
          )
          global_state.set_settings(data_id, dict(locked=[]))
          global_state.set_name(data_id, "test_name" + data_id)
          global_state.set_context_variables(
              data_id, dict(favorite_words=["foo", "bar", "baz"])
          )
          global_state.set_history(data_id, ["foo", "bar", "baz"])
  
file_path: dtale/tests/dtale/test_global_state.py
imports: import mock
  import pandas
  import pytest
  import dtale.global_state
  from dtale.views import build_dtypes_state
label_desc: Use image node_id 3 for calling a global function with example usage: initialize_store(test_data) without return types