Method
fetch_smart_comments
(self, is_video: bool, temp_comments: list)
Source from the content-addressed store, hash-verified
| 1383 | return validation, details |
| 1384 | |
| 1385 | def fetch_smart_comments(self, is_video: bool, temp_comments: list): |
| 1386 | if temp_comments: |
| 1387 | # Use clarifai related comments only! |
| 1388 | comments = temp_comments |
| 1389 | elif is_video: |
| 1390 | comments = self.comments + self.video_comments |
| 1391 | else: |
| 1392 | comments = self.comments + self.photo_comments |
| 1393 | |
| 1394 | return comments |
| 1395 | |
| 1396 | def set_skip_users( |
| 1397 | self, |
Tested by
no test coverage detected