Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

Added adapter type in adapter listing response (#37)

Rahul Johny62bf9dd04d13
diff --git a/backend/adapter_processor/serializers.py b/backend/adapter_processor/serializers.py
index aeb782c81..d5c8fc71f 100644
--- a/backend/adapter_processor/serializers.py
+++ b/backend/adapter_processor/serializers.py
@@ -78,7 +78,12 @@ class AdapterListSerializer(BaseAdapterSerializer):
class Meta(BaseAdapterSerializer.Meta):
model = AdapterInstance
- fields = ("id", "adapter_id", "adapter_name") # type: ignore
+ fields = (
+ "id",
+ "adapter_id",
+ "adapter_name",
+ "adapter_type",
+ ) # type: ignore
def to_representation(self, instance: AdapterInstance) -> dict[str, str]:
rep: dict[str, str] = super().to_representation(instance)