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

os.environ throws TypeError #65

Closed
stigerasmussen opened this issue Nov 22, 2022 · 1 comment
Closed

os.environ throws TypeError #65

stigerasmussen opened this issue Nov 22, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@stigerasmussen
Copy link
Contributor

Steps to reproduce the problem

The os.environ["QISKIT_BRAKET_PROVIDER_MAX_DELAY"] must be set as a string, meaning that when it is set and the _get_result_from_aws_tasks is called, then the retry decorator throws a TypeError since it cannot compare an int and a str.

What is the current behavior?

TypeError is raised when os.environ["QISKIT_BRAKET_PROVIDER_MAX_DELAY"] is set.

What is the expected behavior?

Place an int() in the retry decorator to eliminate the problem.

@stigerasmussen stigerasmussen added the bug Something isn't working label Nov 22, 2022
stigerasmussen added a commit to stigerasmussen/qiskit-braket-provider that referenced this issue Nov 22, 2022
@stigerasmussen
Copy link
Contributor Author

This would probably also also fix #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant