Method
__init__
(self, ssh_transport=None, timeout=60, host=None)
Source from the content-addressed store, hash-verified
| 97 | |
| 98 | class SSHConnection(urllib3.connection.HTTPConnection): |
| 99 | def __init__(self, ssh_transport=None, timeout=60, host=None): |
| 100 | super().__init__( |
| 101 | 'localhost', timeout=timeout |
| 102 | ) |
| 103 | self.ssh_transport = ssh_transport |
| 104 | self.timeout = timeout |
| 105 | self.ssh_host = host |
| 106 | |
| 107 | def connect(self): |
| 108 | if self.ssh_transport: |
Callers
nothing calls this directly
Tested by
no test coverage detected