code: def set_current_as_guest_user():
      g.user = security_manager.get_guest_user_from_token(
          {
              "user": {},
              "resources": [{"type": "dashboard", "id": "some-uuid"}],
          }
      )
  
file_path: superset/tests/unit_tests/async_events/async_query_manager_tests.py
imports: from unittest import mock
  from unittest.mock import ANY, Mock
  from flask import g
  from jwt import encode
  from pytest import fixture, raises
  from superset import security_manager
  from superset.async_events.async_query_manager import AsyncQueryManager, AsyncQueryTokenException
label_desc: Use image node_id 2 for calling a global function with example usage: set_current_as_guest_user() without return types