code: def test_update_uuid_entry(
      app_context: AppContext,
      admin: User,
      key_value_entry: KeyValueEntry,
  ) -> None:
      from superset.commands.key_value.update import (
          UpdateKeyValueCommand,
      )
      from superset.key_value.models import KeyValueEntry
  
      with override_user(admin):
          key = UpdateKeyValueCommand(
              resource=RESOURCE,
              key=UUID_KEY,
              value=NEW_VALUE,
              codec=JSON_CODEC,
          ).run()
      assert key is not None
      assert key.uuid == UUID_KEY
      entry = (
          db.session.query(KeyValueEntry).filter_by(uuid=UUID_KEY).one()
      )
      assert json.loads(entry.value) == NEW_VALUE
      assert entry.changed_by_fk == admin.id
  
file_path: superset/tests/integration_tests/key_value/commands/update_test.py
imports: from __future__ import annotations
  import json
  from typing import TYPE_CHECKING
  from flask.ctx import AppContext
  from flask_appbuilder.security.sqla.models import User
  from superset.extensions import db
  from superset.utils.core import override_user
  from tests.integration_tests.key_value.commands.fixtures import admin, ID_KEY, JSON_CODEC, key_value_entry, RESOURCE, UUID_KEY
label_desc: Use image node_id 2 for calling a global function with example usage: test_update_uuid_entry(app_context, admin, key_value_entry) without return types