code: def test_post_with_uuid(
      session: Session,
      client: Any,
      full_api_access: None,
  ) -> None:
      """
      Test that we can set the database UUID when creating it.
      """
      from superset.models.core import Database
  
      # create table for databases
      Database.metadata.create_all(
          session.get_bind()
      )  # pylint: disable=no-member
  
      response = client.post(
          "/api/v1/database/",
          json={
              "database_name": "my_db",
              "sqlalchemy_uri": "sqlite://",
              "uuid": "7c1b7880-a59d-47cd-8bf1-f1eb8d2863cb",
          },
      )
      assert response.status_code == 201
  
      # check that response includes UUID
      payload = response.json
      assert (
          payload["result"]["uuid"]
          == "7c1b7880-a59d-47cd-8bf1-f1eb8d2863cb"
      )
  
      database = session.query(Database).one()
      assert database.uuid == UUID(
          "7c1b7880-a59d-47cd-8bf1-f1eb8d2863cb"
      )
  
file_path: superset/tests/unit_tests/databases/api_test.py
imports: import json
  from io import BytesIO
  from typing import Any
  from unittest.mock import Mock
  from uuid import UUID
  import pytest
  from flask import current_app
  from pytest_mock import MockFixture
  from sqlalchemy.orm.session import Session
label_desc: Use image node_id 2 for calling a global function with example usage: test_post_with_uuid(session, client, full_api_access) without return types