dwavesystems / dwavesystems/dwave-cloud-client
Add return typehints to sample_ functions
Open
- Dominant language
- Python
- Stars
- 63
- Forks
- 44
- Avg merge
- 13h 45m
- Merged PRs (30d)
- 1
Description
Most sample functions (eg. def sample_ising) return a Future object.
Calls to these functions should use typehints to indicate the return types
ex. Look to sample_problem, it does use the typehint:
def sample_problem(self,
problem: Any,
*,
label: str | None = None,
problem_type: str | None = None,
upload_params: dict | None = None,
**sample_params: Any,
) -> Future:
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.