Skip to content

Commit

Permalink
[QI2-1099] Make backend_types a public endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
qutech-machine committed Oct 10, 2024
1 parent ff7abcd commit 8ab8f25
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
1 change: 0 additions & 1 deletion compute_api_client/api/backend_types_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,6 @@ def _read_backend_types_backend_types_get_serialize(

# authentication setting
_auth_settings: List[str] = [
'user_bearer'
]

return self.api_client.param_serialize(
Expand Down
9 changes: 1 addition & 8 deletions compute_api_client/docs/BackendTypesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ Read backend types.

### Example

* OAuth Authentication (user_bearer):
```python
import time
import os
Expand All @@ -109,12 +108,6 @@ configuration = compute_api_client.Configuration(
host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Enter a context with an instance of the API client
async with compute_api_client.ApiClient(configuration) as api_client:
Expand Down Expand Up @@ -171,7 +164,7 @@ Name | Type | Description | Notes

### Authorization

[user_bearer](../README.md#user_bearer)
No authorization required

### HTTP request headers

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "qi-compute-api-client"
version = "0.36.0"
version = "0.37.0"
description = "An API client for the Compute Job Manager of Quantum Inspire."
license = "Apache-2.0"
authors = ["Quantum Inspire <support@quantum-inspire.eu>"]
Expand Down

0 comments on commit 8ab8f25

Please sign in to comment.