MCPcopy Create free account
hub / github.com/debpalash/VoiceStudio / _dependency

Function _dependency

tests/test_loopback_server_mode.py:13–18  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

11from fastapi import HTTPException
12
13def _dependency(name):
14 # Resolve at test execution time: other suites intentionally replace
15 # ``api.*`` modules in sys.modules while probing cold-start behavior.
16 from api import dependencies
17
18 return getattr(dependencies, name)
19
20
21def is_loopback(*args, **kwargs):

Callers 7

is_loopbackFunction · 0.85
is_local_hostFunction · 0.85
require_adminFunction · 0.85
require_admin_actionFunction · 0.85
require_desktopFunction · 0.85
require_localFunction · 0.85
require_loopbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected