code: def open(
          self,
          hostname: Optional[str],
          username: Optional[str],
          password: Optional[str],
          port: Optional[int],
          platform: Optional[str],
          extras: Optional[Dict[str, Any]] = None,
          configuration: Optional[Config] = None,
      ) -> None:
          
          pass
docs: Connect to the device and populate the attribute :attr:`connection` with
          the underlying connection