Skip to content

Commit 158d5fd

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.554.1
1 parent 0e7f2f3 commit 158d5fd

38 files changed

+190
-86
lines changed

.speakeasy/gen.lock

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
lockVersion: 2.0.0
22
id: fd34e2fb-ef13-41ac-aee3-a7cff2be8de7
33
management:
4-
docChecksum: 3e4bf12c7c153373a231b937e90da92d
4+
docChecksum: 28dbdb0b2f1a8679b812aa642e5075bf
55
docVersion: "2.0"
6-
speakeasyVersion: 1.552.0
7-
generationVersion: 2.610.0
8-
releaseVersion: 3.6.2
9-
configChecksum: 635839a43e418710830d120cf87d7b88
6+
speakeasyVersion: 1.554.1
7+
generationVersion: 2.616.1
8+
releaseVersion: 3.6.3
9+
configChecksum: 100c5a998832e1e22dcaa5ff92daa0c2
1010
repoURL: https://github.com/orq-ai/orq-python.git
1111
installationURL: https://github.com/orq-ai/orq-python.git
1212
published: true
1313
features:
1414
python:
1515
additionalDependencies: 1.0.0
1616
constsAndDefaults: 1.0.5
17-
core: 5.19.0
17+
core: 5.19.1
1818
defaultEnabledRetries: 0.2.0
1919
enumUnions: 0.1.0
2020
envVarSecurityUsage: 0.3.2
@@ -36,7 +36,7 @@ features:
3636
operationTimeout: 0.3.0
3737
responseFormat: 1.0.1
3838
retries: 3.0.2
39-
sdkHooks: 1.0.1
39+
sdkHooks: 1.1.0
4040
serverEvents: 1.0.7
4141
serverEventsSentinels: 0.1.0
4242
unions: 3.0.4
@@ -1337,7 +1337,7 @@ examples:
13371337
application/json: {"external_id": "<id>"}
13381338
responses:
13391339
"200":
1340-
application/json: {"id": "<id>", "external_id": "<id>", "updated": "2025-05-29T13:24:34.277Z"}
1340+
application/json: {"id": "<id>", "external_id": "<id>", "updated": "2025-06-01T19:29:58.422Z"}
13411341
CreateFeedback:
13421342
"":
13431343
requestBody:
@@ -1389,7 +1389,7 @@ examples:
13891389
multipart/form-data: {"file": {"": "x-file: example.file"}, "purpose": "retrieval"}
13901390
responses:
13911391
"200":
1392-
application/json: {"_id": "<id>", "object_name": "<value>", "purpose": "retrieval", "bytes": 3962.98, "file_name": "example.file", "workspace_id": "245aa340-3b5b-47ec-b7a6-1860ea087aa9", "created": "2025-05-29T13:24:37.144Z"}
1392+
application/json: {"_id": "<id>", "object_name": "<value>", "purpose": "retrieval", "bytes": 3962.98, "file_name": "example.file", "workspace_id": "245aa340-3b5b-47ec-b7a6-1860ea087aa9", "created": "2025-06-01T19:30:01.164Z"}
13931393
FileList:
13941394
speakeasy-default-file-list:
13951395
parameters:
@@ -1405,7 +1405,7 @@ examples:
14051405
file_id: "<id>"
14061406
responses:
14071407
"200":
1408-
application/json: {"_id": "<id>", "object_name": "<value>", "purpose": "retrieval", "bytes": 9071.22, "file_name": "example.file", "workspace_id": "9562b954-6ece-4d52-9ebe-4d5b5601dd94", "created": "2025-05-29T13:24:37.144Z"}
1408+
application/json: {"_id": "<id>", "object_name": "<value>", "purpose": "retrieval", "bytes": 9071.22, "file_name": "example.file", "workspace_id": "9562b954-6ece-4d52-9ebe-4d5b5601dd94", "created": "2025-06-01T19:30:01.164Z"}
14091409
FileDelete:
14101410
speakeasy-default-file-delete:
14111411
parameters:
@@ -1496,15 +1496,15 @@ examples:
14961496
application/json: {"display_name": "Neva.Raynor10", "path": "Default"}
14971497
responses:
14981498
"200":
1499-
application/json: {"_id": "859fdd9d-80f9-4a8f-aec3-fdb35ab72f74", "display_name": "Barrett.Cruickshank94", "project_id": "9e0264eb-a840-4be9-a52b-7f0680f07fb2", "workspace_id": "25fc3844-7978-451d-b8bb-5e18641f495a", "metadata": {"total_versions": 5603.5, "datapoints_count": 4196.21}, "updated": "2025-05-29T13:24:34.277Z"}
1499+
application/json: {"_id": "859fdd9d-80f9-4a8f-aec3-fdb35ab72f74", "display_name": "Barrett.Cruickshank94", "project_id": "9e0264eb-a840-4be9-a52b-7f0680f07fb2", "workspace_id": "25fc3844-7978-451d-b8bb-5e18641f495a", "metadata": {"total_versions": 5603.5, "datapoints_count": 4196.21}, "updated": "2025-06-01T19:29:58.422Z"}
15001500
RetrieveDataset:
15011501
speakeasy-default-retrieve-dataset:
15021502
parameters:
15031503
path:
15041504
dataset_id: "<id>"
15051505
responses:
15061506
"200":
1507-
application/json: {"_id": "cec751ff-edcf-48f5-919c-5f9600880799", "display_name": "Rex_Howell20", "project_id": "6e6fed2e-625a-4a65-8b6b-b17c351fe8d6", "workspace_id": "d3c5813a-7915-46a4-bc9b-9737e47047ec", "metadata": {"total_versions": 9356, "datapoints_count": 7039.39}, "updated": "2025-05-29T13:24:34.277Z"}
1507+
application/json: {"_id": "cec751ff-edcf-48f5-919c-5f9600880799", "display_name": "Rex_Howell20", "project_id": "6e6fed2e-625a-4a65-8b6b-b17c351fe8d6", "workspace_id": "d3c5813a-7915-46a4-bc9b-9737e47047ec", "metadata": {"total_versions": 9356, "datapoints_count": 7039.39}, "updated": "2025-06-01T19:29:58.422Z"}
15081508
"404":
15091509
application/json: {"message": "<value>"}
15101510
UpdateDataset:
@@ -1516,7 +1516,7 @@ examples:
15161516
application/json: {"path": "Default"}
15171517
responses:
15181518
"200":
1519-
application/json: {"_id": "b3d673bc-7e1b-4211-aac1-f385b70b6202", "display_name": "Noble_Hilll12", "project_id": "2a621dee-4b22-4755-aabd-0ca81c578515", "workspace_id": "eab8ac16-dbd6-4fa5-853d-4dd5b0c3a595", "metadata": {"total_versions": 2611.42, "datapoints_count": 7855.37}, "updated": "2025-05-29T13:24:34.277Z"}
1519+
application/json: {"_id": "b3d673bc-7e1b-4211-aac1-f385b70b6202", "display_name": "Noble_Hilll12", "project_id": "2a621dee-4b22-4755-aabd-0ca81c578515", "workspace_id": "eab8ac16-dbd6-4fa5-853d-4dd5b0c3a595", "metadata": {"total_versions": 2611.42, "datapoints_count": 7855.37}, "updated": "2025-06-01T19:29:58.422Z"}
15201520
"404":
15211521
application/json: {"message": "<value>"}
15221522
DeleteDataset:
@@ -1541,7 +1541,7 @@ examples:
15411541
dataset_id: "<id>"
15421542
responses:
15431543
"200":
1544-
application/json: {"_id": "<id>", "workspace_id": "<id>", "dataset_id": "<id>", "updated": "2025-05-29T13:24:34.277Z"}
1544+
application/json: {"_id": "<id>", "workspace_id": "<id>", "dataset_id": "<id>", "updated": "2025-06-01T19:29:58.422Z"}
15451545
RetrieveDatapoint:
15461546
speakeasy-default-retrieve-datapoint:
15471547
parameters:
@@ -1550,7 +1550,7 @@ examples:
15501550
datapoint_id: "<id>"
15511551
responses:
15521552
"200":
1553-
application/json: {"_id": "<id>", "workspace_id": "<id>", "dataset_id": "<id>", "updated": "2025-05-29T13:24:34.277Z"}
1553+
application/json: {"_id": "<id>", "workspace_id": "<id>", "dataset_id": "<id>", "updated": "2025-06-01T19:29:58.422Z"}
15541554
"404":
15551555
application/json: {"message": "<value>"}
15561556
UpdateDatapoint:
@@ -1561,7 +1561,7 @@ examples:
15611561
datapoint_id: "<id>"
15621562
responses:
15631563
"200":
1564-
application/json: {"_id": "<id>", "workspace_id": "<id>", "dataset_id": "<id>", "updated": "2025-05-29T13:24:34.277Z"}
1564+
application/json: {"_id": "<id>", "workspace_id": "<id>", "dataset_id": "<id>", "updated": "2025-06-01T19:29:58.422Z"}
15651565
"404":
15661566
application/json: {"message": "<value>"}
15671567
DeleteDatapoint:
@@ -1644,7 +1644,7 @@ examples:
16441644
application/json: {}
16451645
responses:
16461646
"200":
1647-
application/json: {"_id": "01JWE3ERPR070TMZK3PXBPHJCB", "display_name": "Savannah.Bode69", "status": "processing", "created": "<value>", "updated": "<value>", "knowledge_id": "<id>", "chunks_count": 5147.76}
1647+
application/json: {"_id": "01JWPFHZSJBPBDZW2AT01QWP55", "display_name": "Savannah.Bode69", "status": "processing", "created": "<value>", "updated": "<value>", "knowledge_id": "<id>", "chunks_count": 5147.76}
16481648
RetrieveDatasource:
16491649
speakeasy-default-retrieve-datasource:
16501650
parameters:
@@ -1653,7 +1653,7 @@ examples:
16531653
datasource_id: "<id>"
16541654
responses:
16551655
"200":
1656-
application/json: {"_id": "01JWE3ERPR3Z8D61K8HV3WVDVG", "display_name": "Rudolph23", "status": "queued", "created": "<value>", "updated": "<value>", "knowledge_id": "<id>", "chunks_count": 8222.73}
1656+
application/json: {"_id": "01JWPFHZSH92P54ZH4RKVJH9Y9", "display_name": "Rudolph23", "status": "queued", "created": "<value>", "updated": "<value>", "knowledge_id": "<id>", "chunks_count": 8222.73}
16571657
DeleteDatasource:
16581658
speakeasy-default-delete-datasource:
16591659
parameters:
@@ -1670,7 +1670,7 @@ examples:
16701670
application/json: {"display_name": "Tony_Roberts"}
16711671
responses:
16721672
"200":
1673-
application/json: {"_id": "01JWE3ERPS2M24QG9FJZ2D4S08", "display_name": "Mathias_Pagac", "status": "completed", "created": "<value>", "updated": "<value>", "knowledge_id": "<id>", "chunks_count": 3625.25}
1673+
application/json: {"_id": "01JWPFHZSKEVTFDWV54TS9ZGP9", "display_name": "Mathias_Pagac", "status": "completed", "created": "<value>", "updated": "<value>", "knowledge_id": "<id>", "chunks_count": 3625.25}
16741674
CreateChunk:
16751675
speakeasy-default-create-chunk:
16761676
parameters:

.speakeasy/gen.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ generation:
44
maintainOpenAPIOrder: true
55
usageSnippets:
66
optionalPropertyRendering: withExample
7+
sdkInitStyle: constructor
78
useClassNamesForArrayFields: true
89
fixes:
910
nameResolutionDec2023: true

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ sources:
1010
- "2.0"
1111
orq-ai-sdk-python:
1212
sourceNamespace: orq-ai-sdk-python
13-
sourceRevisionDigest: sha256:9e45de12b55e8733f2c965974577269ea33d9725029f417476c5eef0d1893e1b
14-
sourceBlobDigest: sha256:0399d3b6e0d74bd3a7145a090c8813b83d576c756c7b1d14018e2716fb0278d1
13+
sourceRevisionDigest: sha256:b3d3d9b7505e6c0f561aafe9fc457e8f777ad8038315e8aaa96784356a767eb5
14+
sourceBlobDigest: sha256:4cc1be60d6ca7a4e353c8f5a0c22897528bfffd73674222bdeba55b474f34238
1515
tags:
1616
- latest
17-
- speakeasy-sdk-regen-1748525197
17+
- speakeasy-sdk-regen-1748806307
1818
- "2.0"
1919
targets:
2020
orq-ai-sdk-prerelease-python:
@@ -27,10 +27,10 @@ targets:
2727
orq-ai-sdk-python:
2828
source: orq-ai-sdk-python
2929
sourceNamespace: orq-ai-sdk-python
30-
sourceRevisionDigest: sha256:9e45de12b55e8733f2c965974577269ea33d9725029f417476c5eef0d1893e1b
31-
sourceBlobDigest: sha256:0399d3b6e0d74bd3a7145a090c8813b83d576c756c7b1d14018e2716fb0278d1
30+
sourceRevisionDigest: sha256:b3d3d9b7505e6c0f561aafe9fc457e8f777ad8038315e8aaa96784356a767eb5
31+
sourceBlobDigest: sha256:4cc1be60d6ca7a4e353c8f5a0c22897528bfffd73674222bdeba55b474f34238
3232
codeSamplesNamespace: orq-ai-sdk-python-code-samples
33-
codeSamplesRevisionDigest: sha256:7e70c14ef8251c803ae14e2953b1d59a38f11236f2ede9daaa515a831fa815c3
33+
codeSamplesRevisionDigest: sha256:25edcc50cba54f6769eea3507832dbc7dbaab1ce7d8ddfd45a335fb59c507b4a
3434
workflow:
3535
workflowVersion: 1.0.0
3636
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,4 +578,14 @@ Based on:
578578
### Generated
579579
- [python v3.6.2] .
580580
### Releases
581-
- [PyPI v3.6.2] https://pypi.org/project/orq-ai-sdk/3.6.2 - .
581+
- [PyPI v3.6.2] https://pypi.org/project/orq-ai-sdk/3.6.2 - .
582+
583+
## 2025-06-01 19:31:26
584+
### Changes
585+
Based on:
586+
- OpenAPI Doc
587+
- Speakeasy CLI 1.554.1 (2.616.1) https://github.com/speakeasy-api/speakeasy
588+
### Generated
589+
- [python v3.6.3] .
590+
### Releases
591+
- [PyPI v3.6.3] https://pypi.org/project/orq-ai-sdk/3.6.3 - .

poetry.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[project]
22
name = "orq-ai-sdk"
3-
version = "3.6.2"
3+
version = "3.6.3"
44
description = "Python Client SDK for the Orq API."
55
authors = [{ name = "Orq" },]
66
readme = "README-PYPI.md"
77
requires-python = ">=3.9.2"
88
dependencies = [
9+
"httpcore >=1.0.9",
910
"httpx >=0.28.1",
1011
"pydantic >=2.11.2",
1112
]

src/orq_ai_sdk/_hooks/types.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,26 @@
33
from abc import ABC, abstractmethod
44
import httpx
55
from orq_ai_sdk.httpclient import HttpClient
6+
from orq_ai_sdk.sdkconfiguration import SDKConfiguration
67
from typing import Any, Callable, List, Optional, Tuple, Union
78

89

910
class HookContext:
11+
config: SDKConfiguration
1012
base_url: str
1113
operation_id: str
1214
oauth2_scopes: Optional[List[str]] = None
1315
security_source: Optional[Union[Any, Callable[[], Any]]] = None
1416

1517
def __init__(
1618
self,
19+
config: SDKConfiguration,
1720
base_url: str,
1821
operation_id: str,
1922
oauth2_scopes: Optional[List[str]],
2023
security_source: Optional[Union[Any, Callable[[], Any]]],
2124
):
25+
self.config = config
2226
self.base_url = base_url
2327
self.operation_id = operation_id
2428
self.oauth2_scopes = oauth2_scopes
@@ -28,6 +32,7 @@ def __init__(
2832
class BeforeRequestContext(HookContext):
2933
def __init__(self, hook_ctx: HookContext):
3034
super().__init__(
35+
hook_ctx.config,
3136
hook_ctx.base_url,
3237
hook_ctx.operation_id,
3338
hook_ctx.oauth2_scopes,
@@ -38,6 +43,7 @@ def __init__(self, hook_ctx: HookContext):
3843
class AfterSuccessContext(HookContext):
3944
def __init__(self, hook_ctx: HookContext):
4045
super().__init__(
46+
hook_ctx.config,
4147
hook_ctx.base_url,
4248
hook_ctx.operation_id,
4349
hook_ctx.oauth2_scopes,
@@ -48,6 +54,7 @@ def __init__(self, hook_ctx: HookContext):
4854
class AfterErrorContext(HookContext):
4955
def __init__(self, hook_ctx: HookContext):
5056
super().__init__(
57+
hook_ctx.config,
5158
hook_ctx.base_url,
5259
hook_ctx.operation_id,
5360
hook_ctx.oauth2_scopes,

src/orq_ai_sdk/_version.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "orq-ai-sdk"
6-
__version__: str = "3.6.2"
6+
__version__: str = "3.6.3"
77
__openapi_doc_version__: str = "2.0"
8-
__gen_version__: str = "2.610.0"
9-
__user_agent__: str = "speakeasy-sdk/python 3.6.2 2.610.0 2.0 orq-ai-sdk"
8+
__gen_version__: str = "2.616.1"
9+
__user_agent__: str = "speakeasy-sdk/python 3.6.3 2.616.1 2.0 orq-ai-sdk"
1010

1111
try:
1212
if __package__ is not None:

0 commit comments

Comments
 (0)