code: def stage_protocol(protocol_file: Path):
      with mock.patch(
          "syft.protocol.data_protocol.PROTOCOL_STATE_FILENAME",
          protocol_file.name,
      ):
          dp = get_data_protocol()
          stage_protocol_changes()
          bump_protocol_version()
          yield dp.protocol_history
          dp.save_history(dp.protocol_history)
  
imports: import json
  from pathlib import Path
  from unittest import mock
  from faker import Faker
  import pytest
  import syft
  from syft.protocol.data_protocol import bump_protocol_version
  from syft.protocol.data_protocol import get_data_protocol
  from syft.protocol.data_protocol import stage_protocol_changes
  from .syft.stores.store_fixtures_test import dict_action_store
  from .syft.stores.store_fixtures_test import dict_document_store
  from .syft.stores.store_fixtures_test import dict_queue_stash
  from .syft.stores.store_fixtures_test import dict_store_partition
  from .syft.stores.store_fixtures_test import mongo_action_store
  from .syft.stores.store_fixtures_test import mongo_document_store
  from .syft.stores.store_fixtures_test import mongo_queue_stash
  from .syft.stores.store_fixtures_test import mongo_server_mock
  from .syft.stores.store_fixtures_test import mongo_store_partition
  from .syft.stores.store_fixtures_test import sqlite_action_store
  from .syft.stores.store_fixtures_test import sqlite_document_store
  from .syft.stores.store_fixtures_test import sqlite_queue_stash
  from .syft.stores.store_fixtures_test import sqlite_store_partition
  from .syft.stores.store_fixtures_test import sqlite_workspace
label_desc: Use image node_id 5 for calling a global function with example usage: stage_protocol(protocol_file) without return types