MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / get_host_field_dict

Function get_host_field_dict

keepercommander/plugins/plugin_manager.py:67–71  ·  view source on GitHub ↗
(record)

Source from the content-addressed store, hash-verified

65
66
67def get_host_field_dict(record):
68 return next((
69 f.value for f in record.custom
70 if isinstance(f.value, dict) and 'hostName' in f.value and 'port' in f.value
71 ), None)
72
73
74def detect_plugin(record, plugin_kwargs):

Callers 2

detect_pluginFunction · 0.85
detect_kwargsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected