docstr: Internal init method. Please use DHTProtocol.create coroutine to spawn new protocol instances
docstr_tok: ["Internal","init","method",".","Please","use","DHTProtocol.create","coroutine","to","spawn","new","protocol","instances"]
code: def __init__(self, *, _initialized_with_create=False):
      """Internal init method. Please use DHTProtocol.create coroutine to spawn new protocol instances"""
      assert (
          _initialized_with_create
      ), "Please use DHTProtocol.create coroutine to spawn new protocol instances"
      super().__init__()
  
file_path: hivemind/hivemind/dht/protocol.py
imports: from __future__ import annotations
  import asyncio
  from typing import Collection, Dict, List, Optional, Sequence, Tuple, Union
  from hivemind.dht.crypto import DHTRecord, RecordValidatorBase
  from hivemind.dht.routing import DHTID, BinaryDHTValue, RoutingTable, Subkey
  from hivemind.dht.storage import DHTLocalStorage, DictionaryDHTValue
  from hivemind.p2p import P2P, P2PContext, PeerID, ServicerBase
  from hivemind.proto import dht_pb2
  from hivemind.utils import MSGPackSerializer, get_logger
  from hivemind.utils.auth import AuthorizerBase, AuthRole, AuthRPCWrapper
  from hivemind.utils.timed_storage import MAX_DHT_TIME_DISCREPANCY_SECONDS, DHTExpiration, ValueWithExpiration, get_dht_time
label_desc: Use image node_id 1 to create a new DHTProtocol object from inherited base classes: ServicerBase with example: obj = DHTProtocol()