MCPcopy Create free account
hub / github.com/dwavesystems/dwave-cloud-client / _load

Method _load

dwave/cloud/client/base.py:1768–1777  ·  view source on GitHub ↗

Enqueue a problem to download results from the server. Args: future (:class:`~dwave.cloud.computation.Future`): Future object corresponding to the remote computation. This method is thread-safe.

(self, future)

Source from the content-addressed store, hash-verified

1766
1767 @_ensure_active(allow_while_closing=True)
1768 def _load(self, future):
1769 """Enqueue a problem to download results from the server.
1770
1771 Args:
1772 future (:class:`~dwave.cloud.computation.Future`):
1773 Future object corresponding to the remote computation.
1774
1775 This method is thread-safe.
1776 """
1777 self._load_queue.put(future)
1778
1779 def _do_load_results(self):
1780 """Submit a query asking for the results for a particular problem.

Callers 2

retrieve_answerMethod · 0.95

Calls 1

putMethod · 0.45

Tested by

no test coverage detected