code: def test_rename_dependencies():
      class SomeModel(Model):
          CONFIGURATIONS = {"ok": {}}
  
          def _predict(self, item):
              return self.configuration_key
  
      class SomeModel2(Model):
          CONFIGURATIONS = {"boomer": {}}
  
          def _predict(self, item):
              return self.configuration_key
  
      class FinalModel(Model):
          CONFIGURATIONS = {
              "model_no_rename": {
                  "model_dependencies": {"ok"},
              },
              "model_rename": {
                  "model_dependencies": {"ok": "boomer"},
              },
          }
  
          def _predict(self, item):
              return self.model_dependencies["ok"](item)
  
      lib = ModelLibrary(models=[SomeModel, SomeModel2, FinalModel])
      assert lib.get("model_no_rename")({}) == "ok"
      assert lib.get("model_rename")({}) == "boomer"
  
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 18 for calling a global function with example usage: test_rename_dependencies() and returns: self, self, self