Verify if we can enable graph paging. This executed only once when the session is created.
(self)
| 2860 | execution_profile.continuous_paging_options = graph_paging |
| 2861 | |
| 2862 | def _check_graph_paging_available(self): |
| 2863 | """Verify if we can enable graph paging. This executed only once when the session is created.""" |
| 2864 | |
| 2865 | if not ProtocolVersion.has_continuous_paging_next_pages(self._protocol_version): |
| 2866 | return False |
| 2867 | |
| 2868 | for host in self.cluster.metadata.all_hosts(): |
| 2869 | if host.dse_version is None: |
| 2870 | return False |
| 2871 | |
| 2872 | version = Version(host.dse_version) |
| 2873 | if version < _GRAPH_PAGING_MIN_DSE_VERSION: |
| 2874 | return False |
| 2875 | |
| 2876 | return True |
| 2877 | |
| 2878 | def _resolve_execution_profile_options(self, execution_profile): |
| 2879 | """ |
no test coverage detected