remove deepstack detector and all references to it (#24259)

the 0.18 release notes indicated this was being removed in 0.19
This commit is contained in:
Josh Hawkins
2026-09-12 16:20:50 -05:00
committed by GitHub
parent d59c28e53a
commit 9cba1c2963
7 changed files with 7 additions and 161 deletions
+6 -6
View File
@@ -128,10 +128,10 @@ class TestMigrateModels(unittest.TestCase):
migrated = migrate_models(
{
"detectors": {
"ds": {
"type": "deepstack",
"api_url": "http://host:5000/v1/vision/detection",
"api_key": "secret",
"remote": {
"type": "zmq",
"endpoint": "tcp://host:5555",
"request_timeout_ms": 200,
}
}
}
@@ -139,9 +139,9 @@ class TestMigrateModels(unittest.TestCase):
self.assertEqual(
migrated["models"][0]["devices"],
["deepstack:http://host:5000/v1/vision/detection"],
["zmq:tcp://host:5555"],
)
self.assertTrue(any("api_key" in message for message in logs.output))
self.assertTrue(any("request_timeout_ms" in message for message in logs.output))
def test_mixed_detector_types_are_logged(self):
with self.assertLogs("frigate.util.config", level=logging.ERROR) as logs: