LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
multitenancy v2 delta changes for pr 535 (#680)
vishnuszipstack2f9d8e33294e
diff --git a/backend/pipeline_v2/serializers/crud.py b/backend/pipeline_v2/serializers/crud.pyindex bb051abef..ed3360b94 100644--- a/backend/pipeline_v2/serializers/crud.py+++ b/backend/pipeline_v2/serializers/crud.py@@ -10,6 +10,7 @@ from pipeline_v2.constants import PipelineKey as PKfrom pipeline_v2.models import Pipelinefrom scheduler.helper import SchedulerHelperfrom utils.serializer_utils import SerializerUtils+from workflow_manager.endpoint_v2.models import WorkflowEndpointfrom backend.serializers import AuditSerializerfrom unstract.connectors.connectorkit import Connectorkit@@ -73,6 +74,17 @@ class PipelineSerializer(AuditSerializer):connector_id=instance.connector_id,))+ if repr[PC.DESTINATION_NAME] == PC.NOT_CONFIGURED:+ try:+ check_manual_review = WorkflowEndpoint.objects.get(+ workflow=instance.workflow,+ endpoint_type=WorkflowEndpoint.EndpointType.DESTINATION,+ connection_type=WorkflowEndpoint.ConnectionType.MANUALREVIEW,+ )+ if check_manual_review:+ repr[PC.DESTINATION_NAME] = "Manual Review"+ except Exception as ex:+ logger.debug(f"Not a Manual review destination: {ex}")return reprdef to_representation(self, instance: Pipeline) -> OrderedDict[str, Any]: