Skip to content

Commit 9626a11

Browse files
committed
Remove unused import statements in HistorySerializer
1 parent 138f28a commit 9626a11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llmstack/processors/serializers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ def to_representation(self, instance):
175175
return representation
176176

177177
def get_app_detail(self, obj):
178-
from promptly_app_store.models import AppStoreApp
179-
180178
from llmstack.apps.models import App
181179

182180
name = ""
@@ -188,6 +186,8 @@ def get_app_detail(self, obj):
188186
name = app.name
189187
path = f"/apps/{obj.app_uuid}"
190188
elif obj.app_store_uuid:
189+
from promptly_app_store.models import AppStoreApp
190+
191191
app = AppStoreApp.objects.get(uuid=obj.app_store_uuid)
192192
if not app:
193193
return {"name": "Deleted App", "path": "/"}

0 commit comments

Comments
 (0)