Skip to content

Commit d2fd88a

Browse files
committed
[QI2-1385] Generalised exception handling
1 parent d218925 commit d2fd88a

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ Authentication schemes defined for the API: <a id="user_bearer"></a>
228228

229229
- **Type**: OAuth
230230
- **Flow**: accessCode
231-
- **Authorization URL**: https://auth.qi2.quantum-inspire.com/realms/oidc_development/protocol/openid-connect/auth
231+
- **Authorization URL**: https://quantum-inspire-staging.eu.auth0.com/authorize
232232
- **Scopes**: N/A
233233

234234
<a id="backend"></a>

compute_api_client/docs/JobPatch.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**trace_id** | **str** | | [optional] [default to '']
1010
**message** | **str** | | [optional] [default to '']
1111
**source** | **str** | | [optional] [default to '']
12+
**traceback** | **str** | | [optional] [default to '']
1213

1314
## Example
1415

compute_api_client/models/job_patch.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ class JobPatch(BaseModel):
3737
trace_id: Optional[Annotated[str, Field(strict=True, max_length=255)]] = ''
3838
message: Optional[StrictStr] = ''
3939
source: Optional[StrictStr] = ''
40-
__properties: ClassVar[List[str]] = ["status", "session_id", "trace_id", "message", "source"]
40+
traceback: Optional[StrictStr] = ''
41+
__properties: ClassVar[List[str]] = ["status", "session_id", "trace_id", "message", "source", "traceback"]
4142

4243
model_config = {
4344
"populate_by_name": True,
@@ -91,7 +92,8 @@ def from_dict(cls, obj: Dict) -> Self:
9192
"session_id": obj.get("session_id") if obj.get("session_id") is not None else '',
9293
"trace_id": obj.get("trace_id") if obj.get("trace_id") is not None else '',
9394
"message": obj.get("message") if obj.get("message") is not None else '',
94-
"source": obj.get("source") if obj.get("source") is not None else ''
95+
"source": obj.get("source") if obj.get("source") is not None else '',
96+
"traceback": obj.get("traceback") if obj.get("traceback") is not None else ''
9597
})
9698
return _obj
9799

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "qi-compute-api-client"
3-
version = "0.46.0"
3+
version = "0.47.0"
44
description = "An API client for the Compute Job Manager of Quantum Inspire."
55
license = "Apache-2.0"
66
authors = ["Quantum Inspire <[email protected]>"]

0 commit comments

Comments
 (0)