def __init__(self, host, pubkey, port=None, username=None, *args, **kwargs): """ Initialize the class with authdata and call superclass constructor. Please see SSHGitClient's class constructor for a documentation of arguments not mentioned here. Args: host: host to connect to pubkey: file path of the publickey to use port: SSH port to connect to username: username to use while connecting """ self.host = host self.port = port self.pubkey = pubkey self.username = username TraditionalGitClient.__init__(self, *args, **kwargs) self.alternative_paths = {}
def __init__(self, host, pubkey, port=None, username=None, *args, **kwargs): self.host = host self.port = port self.pubkey = pubkey self.username = username TraditionalGitClient.__init__(self, *args, **kwargs) self.alternative_paths = {}
def __init__(self, can_read, read, write): self.can_read = can_read self.read = read self.write = write TraditionalGitClient.__init__(self)