mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 22:52:12 -03:00
feat(recipes): expose recipe scanner mutation apis
This commit is contained in:
@@ -108,6 +108,10 @@ async def test_save_recipe_reports_duplicates(tmp_path):
|
||||
self.last_fingerprint = fingerprint
|
||||
return ["existing"]
|
||||
|
||||
async def add_recipe(self, recipe_data):
|
||||
self._cache.raw_data.append(recipe_data)
|
||||
await self._cache.resort()
|
||||
|
||||
scanner = DummyScanner(tmp_path)
|
||||
service = RecipePersistenceService(
|
||||
exif_utils=exif_utils,
|
||||
|
||||
Reference in New Issue
Block a user