MCPcopy
hub / github.com/ktbyers/netmiko / _send_command_str

Method _send_command_str

netmiko/base_connection.py:1845–1849  ·  view source on GitHub ↗

Wrapper for `send_command` method that always returns a string

(self, *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

1843 return return_val
1844
1845 def _send_command_str(self, *args: Any, **kwargs: Any) -> str:
1846 """Wrapper for `send_command` method that always returns a string"""
1847 output = self.send_command(*args, **kwargs)
1848 assert isinstance(output, str)
1849 return output
1850
1851 def send_command_expect(
1852 self, *args: Any, **kwargs: Any

Callers 15

send_multilineMethod · 0.95
_autodetect_fsMethod · 0.80
save_configMethod · 0.80
check_file_existsMethod · 0.80
remote_file_sizeMethod · 0.80
remote_md5Method · 0.80
save_configMethod · 0.80
save_configMethod · 0.80

Calls 1

send_commandMethod · 0.95

Tested by

no test coverage detected