class_docstr: Common base class for all of DataLad's special remote implementations
class_docstr_tok: ["Common","base","class","for","all","of","DataLad","'s","special","remote","implementations"]
code: def __init__(self, annex):
      super(SpecialRemote, self).__init__(annex=annex)
      # instruct annex backend UI to use this remote
      if ui.backend == "annex":
          ui.set_specialremote(self)
  
file_path: datalad/datalad/customremotes/__init__.py
imports: from annexremote import ProtocolError, SpecialRemote, RemoteError
  from datalad.support.exceptions import format_exception_with_cause
  from datalad.ui import ui
label_desc: Use image node_id 1 to create a new SpecialRemote object from inherited base classes: _SpecialRemote with example: obj = SpecialRemote(annex)