MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / get_focus_interface

Method get_focus_interface

multi_interface.py:415–418  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

413 return self.get_scan_mode() == self.MODE_MULTI
414
415 def get_focus_interface(self) -> Optional[str]:
416 focus = self.shared_data.config.get('wifi_multi_scan_focus_interface') or ''
417 focus = str(focus).strip()
418 return focus or None
419
420 def get_focus_job(self) -> Optional[ScanJob]:
421 focus_name = self.get_focus_interface()

Callers 5

sync_from_interfacesMethod · 0.95
get_state_payloadMethod · 0.95
get_focus_jobMethod · 0.95
update_scan_modeMethod · 0.95
_refresh_focus_flagsMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected