class_docstr: Represents an interface of the service (the node).
  
  Call `.dereference()` to get the actual client object of this service (to be
  implemented in subclasses).
class_docstr_tok: ["Represents","an","interface","of","the","service","(","the","node",")",".","Call","`",".dereference","(",")","`","to","get","the","actual","client","object","of","this","service","(","to","be","implemented","in","subclasses",")","."]
docstr: Called to let this handle know about it's connecting to a node.
  
  This is supposed to be called:
  
    1. Before creating any executables
    2. Before any address binding happens
  
  The motivation is we want to give the handle a chance to configure itself
  for the node, before it's turned into executables and addresses are
  finalized.
  
  Args:
    node: The node that the handle connects to.
    label: Label of the node.
docstr_tok: ["Called","to","let","this","handle","know","about","it","'s","connecting","to","a","node",".","This","is","supposed","to","be","called",":","1",".","Before","creating","any","executables","2",".","Before","any","address","binding","happens","The","motivation","is","we","want","to","give","the","handle","a","chance","to","configure","itself","for","the","node",",","before","it","'s","turned","into","executables","and","addresses","are","finalized",".","Args",":","node",":","The","node","that","the","handle","connects","to",".","label",":","Label","of","the","node","."]
code: def connect(
      self, node: "Node[Handle[ClientType]]", label: str
  ) -> None:
      """Called to let this handle know about it's connecting to a node.
  
      This is supposed to be called:
  
        1. Before creating any executables
        2. Before any address binding happens
  
      The motivation is we want to give the handle a chance to configure itself
      for the node, before it's turned into executables and addresses are
      finalized.
  
      Args:
        node: The node that the handle connects to.
        label: Label of the node.
      """
      pass
  
imports: import abc
  import functools
  from typing import Any, Generic, List, Optional, Sequence, Set, TypeVar
  from launchpad import address
  from launchpad import context
  from launchpad.nodes import dereference
  from launchpad.program_stopper import program_stopper
label_desc: Use image node_id 1 for calling the Handle obj's underlying member method code with example usage: obj.connect(node, label) without return types