code: def log_model(create_log_model, request):
      return create_log_model(
          event="TEST_EVENT",
          when=request.instance.default_time,
      )
  
imports: from __future__ import annotations
  import pytest
  from airflow.api_connexion.exceptions import EXCEPTIONS_LINK_MAP
  from airflow.models import Log
  from airflow.security import permissions
  from airflow.utils import timezone
  from tests.test_utils.api_connexion_utils import assert_401, create_user, delete_user
  from tests.test_utils.config import conf_vars
  from tests.test_utils.db import clear_db_logs
label_desc: Use image node_id 3 for calling a global function with example usage: log_model(create_log_model, request) and returns: create_log_model