refactor: Refactor storage system (#937)

This commit is contained in:
Fangyin Cheng
2023-12-15 16:35:45 +08:00
committed by GitHub
parent a1e415d68d
commit aed1c3fb2b
55 changed files with 3780 additions and 680 deletions

View File

@@ -0,0 +1,14 @@
import pytest
from dbgpt.core.interface.storage import InMemoryStorage
from dbgpt.util.serialization.json_serialization import JsonSerializer
@pytest.fixture
def serializer():
return JsonSerializer()
@pytest.fixture
def in_memory_storage(serializer):
return InMemoryStorage(serializer)