this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add status response flag for template generation

+9 -1
+9 -1
care/emr/api/viewsets/report/report_upload.py
··· 45 45 associating_id: UUID4 46 46 output_format: str | None = None 47 47 force: bool = False 48 + status_check: bool = False 48 49 49 50 @field_validator("output_format") 50 51 @classmethod ··· 125 126 if request_data.force: 126 127 report_utils.clear_lock(lock_key) 127 128 128 - if current_progress := report_utils.get_progress(lock_key): 129 + current_progress = report_utils.get_progress(lock_key) 130 + 131 + if request_data.status_check: 132 + if current_progress: 133 + return Response({"progress": current_progress}) 134 + return Response({}) 135 + 136 + if current_progress: 129 137 return Response( 130 138 { 131 139 "detail": (