code: def test_model_multiple_load():
      loaded = 0
  
      class SomeModel(Model):
          CONFIGURATIONS = {"a": {}}
  
          def _load(self):
              nonlocal loaded
              loaded += 1
  
          def _predict(self, item):
              return self.some_attribute
  
      class SomeModel2(Model):
          CONFIGURATIONS = {"b": {"model_dependencies": {"a"}}}
  
          def _load(self):
              self.some_attribute = "OK"
  
          def _predict(self, item):
              return self.some_attribute
  
      lib = ModelLibrary(models=[SomeModel, SomeModel2])
      lib.get("b")
      lib.get("a")
      assert loaded == 1
  
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 25 for calling a global function with example usage: test_model_multiple_load() and returns: self, self