Returns the sum of outgoing links of the provided page IDs. Args: page_ids: A list of page IDs whose outgoing links to count. Returns: int: The count of outgoing links.
(self, page_ids)
| 132 | return breadth_first_search(source_page_id, target_page_id, self) |
| 133 | |
| 134 | def fetch_outgoing_links_count(self, page_ids): |
| 135 | """Returns the sum of outgoing links of the provided page IDs. |
| 136 | |
| 137 | Args: |
| 138 | page_ids: A list of page IDs whose outgoing links to count. |
| 139 | |
| 140 | Returns: |
| 141 | int: The count of outgoing links. |
| 142 | """ |
| 143 | return self.fetch_links_count_helper(page_ids, 'outgoing_links_count') |
| 144 | |
| 145 | def fetch_incoming_links_count(self, page_ids): |
| 146 | """Returns the sum of incoming links for the provided page IDs. |
no test coverage detected