code: def test_create_package_with_non_existing_parent(tmp_path: Path):
      storage = LocalModelStorage.create(tmp_path)
      model_file = tmp_path / "new" / "sub" / "dir" / "file.tar.gz"
  
      storage.create_model_package(
          model_file,
          GraphModelConfiguration(
              GraphSchema({}),
              GraphSchema({}),
              TrainingType.BOTH,
              "test_assistant",
              None,
              None,
              "nlu",
          ),
          Domain.empty(),
      )
  
      assert model_file.is_file()
  
imports: import sys
  import uuid
  from datetime import datetime
  from pathlib import Path
  from tarsafe import TarSafe
  import freezegun
  import pytest
  from _pytest.monkeypatch import MonkeyPatch
  from _pytest.tmpdir import TempPathFactory
  import rasa.shared.utils.io
  from rasa.engine.graph import SchemaNode, GraphSchema, GraphModelConfiguration
  from rasa.engine.storage.local_model_storage import LocalModelStorage, MODEL_ARCHIVE_METADATA_FILE
  from rasa.engine.storage.storage import ModelStorage, ModelMetadata
  from rasa.engine.storage.resource import Resource
  from rasa.exceptions import UnsupportedModelVersionError
  from rasa.shared.core.domain import Domain
  from rasa.shared.data import TrainingType
  from tests.engine.graph_components_test_classes import PersistableTestComponent
label_desc: Use image node_id 7 for calling a global function with example usage: test_create_package_with_non_existing_parent(tmp_path) without return types