architojha commited on
Commit
dff6c2b
·
1 Parent(s): badef87

final changes

Browse files
src/app/pipelines/modules/data_understanding_context.py CHANGED
@@ -251,10 +251,11 @@ class DataUnderstandingContextWorkflow:
251
  su_result = self.build_semantic_understanding(verbose=verbose)
252
 
253
  return {
254
- 'business_context_integration':{
255
- "report": bci_result.content
256
  },
257
  'semantic_understanding': {
258
- "report": su_result.content
259
  }
260
  }
 
 
251
  su_result = self.build_semantic_understanding(verbose=verbose)
252
 
253
  return {
254
+ 'business_context_integration': {
255
+ "report": bci_result.content if bci_result else None
256
  },
257
  'semantic_understanding': {
258
+ "report": su_result.content if su_result else None
259
  }
260
  }
261
+