Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add class and instance-level Client config defaults #427

Merged
57 changes: 29 additions & 28 deletions docs/reference/resources.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,31 +27,40 @@ that it later explicitly closes.
Typically you use the :class:`~dwave.cloud.client.Client` class. By default, it instantiates
a QPU client. You can also use the specialized QPU and CPU/GPU clients directly.


Client (Base Client)
====================

.. automodule:: dwave.cloud.client
.. currentmodule:: dwave.cloud.client

Class
-----

.. autoclass:: dwave.cloud.client.Client
.. autoclass:: Client

Properties
----------

.. autosummary::
:toctree: generated

Client.DEFAULTS

Methods
-------

.. currentmodule:: dwave.cloud

.. autosummary::
:toctree: generated

client.Client.from_config
client.Client.solvers
client.Client.retrieve_answer
client.Client.get_solver
client.Client.get_solvers
client.Client.is_solver_handled
client.Client.close
Client.from_config
Client.solvers
Client.retrieve_answer
Client.get_solver
Client.get_solvers
Client.is_solver_handled
Client.close
randomir marked this conversation as resolved.
Show resolved Hide resolved


Specialized Clients
===================
Expand All @@ -62,42 +71,34 @@ a QPU client. You can also instantiate a QPU or CPU/GPU client directly.
QPU Client
----------

.. currentmodule:: dwave.cloud.qpu

.. automodule:: dwave.cloud.qpu
.. currentmodule:: dwave.cloud.qpu

Class
-----

.. autoclass:: dwave.cloud.qpu.Client

Methods
-------

.. currentmodule:: dwave.cloud

.. autosummary::
:toctree: generated

qpu.Client.is_solver_handled

Software-Samplers Client
------------------------

randomir marked this conversation as resolved.
Show resolved Hide resolved
.. automodule:: dwave.cloud.sw
.. currentmodule:: dwave.cloud.sw


Class
-----

.. autoclass:: dwave.cloud.sw.Client

Methods
-------

.. currentmodule:: dwave.cloud
Hybrid-Samplers Client
------------------------

.. autosummary::
:toctree: generated
.. automodule:: dwave.cloud.hybrid
.. currentmodule:: dwave.cloud.hybrid

Class
-----

sw.Client.is_solver_handled
.. autoclass:: dwave.cloud.hybrid.Client
Loading