MCPcopy Index your code
hub / github.com/RustPython/RustPython / authenticators

Method authenticators

Lib/netrc.py:173–180  ·  view source on GitHub ↗

Return a (user, account, password) tuple for given host.

(self, host)

Source from the content-addressed store, hash-verified

171 " the owner")
172
173 def authenticators(self, host):
174 """Return a (user, account, password) tuple for given host."""
175 if host in self.hosts:
176 return self.hosts[host]
177 elif 'default' in self.hosts:
178 return self.hosts['default']
179 else:
180 return None
181
182 def __repr__(self):
183 """Dump the class data in the format of a .netrc file."""

Callers 1

testFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected