code: def test_configure_override():
      class SomeModel(Model):
          CONFIGURATIONS = {
              "yolo": {"asset": "ok/boomer"},
              "les simpsons": {},
          }
  
      class SomeOtherModel(Model):
          pass
  
      configurations = configure(models=SomeModel)
      assert configurations["yolo"].model_type == SomeModel
      assert configurations["yolo"].asset == "ok/boomer"
      assert configurations["les simpsons"].model_type == SomeModel
      assert configurations["les simpsons"].asset is None
  
      configurations = configure(
          models=SomeModel,
          configuration={
              "somethingelse": ModelConfiguration(
                  model_type=SomeOtherModel
              )
          },
      )
      assert configurations["yolo"].model_type == SomeModel
      assert configurations["yolo"].asset == "ok/boomer"
      assert configurations["les simpsons"].model_type == SomeModel
      assert configurations["les simpsons"].asset is None
      assert (
          configurations["somethingelse"].model_type == SomeOtherModel
      )
      assert configurations["somethingelse"].asset is None
  
      configurations = configure(
          models=SomeModel,
          configuration={
              "yolo": ModelConfiguration(model_type=SomeOtherModel)
          },
      )
      assert configurations["yolo"].model_type == SomeOtherModel
      assert configurations["yolo"].asset is None
  
      configurations = configure(
          models=SomeModel,
          configuration={"yolo": {"asset": "something/else"}},
      )
      assert configurations["yolo"].model_type == SomeModel
      assert configurations["yolo"].asset == "something/else"
  
      configurations = configure(
          models=SomeModel,
          configuration={"yolo2": {"model_type": SomeOtherModel}},
      )
      assert configurations["yolo"].model_type == SomeModel
      assert configurations["yolo"].asset == "ok/boomer"
      assert configurations["yolo2"].model_type == SomeOtherModel
      assert configurations["yolo2"].asset is None
  
imports: import asyncio
  import os
  import pytest
  from modelkit.assets.errors import AssetDoesNotExistError, InvalidAssetSpecError
  from modelkit.core import errors
  from modelkit.core.library import ConfigurationNotFoundException, ModelLibrary, download_assets, load_model
  from modelkit.core.model import Asset, AsyncModel, Model
  from modelkit.core.model_configuration import ModelConfiguration, _configurations_from_objects, configure, list_assets
  from modelkit.core.settings import LibrarySettings
  from tests import TEST_DIR, testmodels
  from tests.assets.test_versioning import test_versioning
label_desc: Use image node_id 5 for calling a global function with example usage: test_configure_override() without return types