MCPcopy Index your code
hub / github.com/httpie/cli / has_password

Method has_password

httpie/cli/argtypes.py:161–162  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

159 """Represents parsed credentials."""
160
161 def has_password(self) -> bool:
162 return self.value is not None
163
164 def prompt_password(self, host: str) -> None:
165 self.value = self._prompt_password(f'password for {self.key}@{host}:')

Callers 1

_process_authMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected