inspection_sheet_info = serializers.SerializerMethodField()
def get_inspection_sheet_info(self, instance):
try:
rock_obj = CommonFileSerializer(instance.inspection_sheet, many=False, context={'request': self.context['request']}).data
return rock_obj
except:
return None