Check and align the succ neighbor cache with node id cache
(self)
| 126 | return self.node_attr_align |
| 127 | |
| 128 | def align_succ_cache(self): |
| 129 | """Check and align the succ neighbor cache with node id cache""" |
| 130 | if self.enable_iter_cache and self.succ_align is False: |
| 131 | start_gid, self.succ_cache = self.futures["succ"].result() |
| 132 | if start_gid == self.iter_pre_gid: |
| 133 | if self.iter_gid != self.iter_pre_gid: |
| 134 | self._async_fetch_succ_cache(self.iter_gid) |
| 135 | self.succ_align = True |
| 136 | else: |
| 137 | self._async_fetch_succ_cache(self.iter_pre_gid) |
| 138 | |
| 139 | return self.succ_align |
| 140 | |
| 141 | def align_succ_attr_cache(self): |
| 142 | """Check and align the succ neighbor attr cache with node id cache""" |
no test coverage detected