Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
63709e5
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.357.3
speakeasybot Aug 8, 2024
6315312
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.358.0
speakeasybot Aug 9, 2024
ee7a9d8
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.361.1
speakeasybot Aug 11, 2024
42aeb31
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.368.0
speakeasybot Aug 15, 2024
59b7cba
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.376.0
speakeasybot Aug 20, 2024
5b3cdb4
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.383.2
speakeasybot Aug 30, 2024
6aa99ff
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.392.1
speakeasybot Sep 7, 2024
e48dcf3
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.394.0
speakeasybot Sep 10, 2024
86a019d
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.396.6
speakeasybot Sep 13, 2024
4971945
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.400.1
speakeasybot Sep 20, 2024
54142d0
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.403.3
speakeasybot Sep 27, 2024
8fbb113
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.405.6
speakeasybot Oct 1, 2024
739cc00
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.406.0
speakeasybot Oct 3, 2024
c2109a2
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.411.1
speakeasybot Oct 8, 2024
2898013
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.421.1
speakeasybot Oct 24, 2024
a1bb8a9
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.423.5
speakeasybot Oct 31, 2024
7efa0e8
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.426.0
speakeasybot Nov 5, 2024
0bdd84e
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.431.0
speakeasybot Nov 6, 2024
47d4971
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.436.0
speakeasybot Nov 9, 2024
d5ac1e6
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.443.0
speakeasybot Nov 22, 2024
3753d65
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.446.0
speakeasybot Nov 26, 2024
776ad5b
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.448.2
speakeasybot Nov 28, 2024
9cc07e6
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.451.5
speakeasybot Dec 5, 2024
694562e
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.453.8
speakeasybot Dec 10, 2024
56346e9
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.454.0
speakeasybot Dec 12, 2024
e58d6c4
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.455.3
speakeasybot Dec 14, 2024
93c5f89
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.455.7
speakeasybot Dec 17, 2024
53e1c32
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.459.2
speakeasybot Dec 21, 2024
24a4a01
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.460.2
speakeasybot Dec 24, 2024
5f8329f
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.462.2
speakeasybot Jan 4, 2025
8ff6e6e
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.465.1
speakeasybot Jan 9, 2025
76bff00
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.467.0
speakeasybot Jan 10, 2025
c51f55c
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.468.2
speakeasybot Jan 12, 2025
5a733fc
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.468.6
speakeasybot Jan 15, 2025
ab40c3f
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.468.8
speakeasybot Jan 16, 2025
82c4732
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.469.2
speakeasybot Jan 20, 2025
9abaace
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.469.11
speakeasybot Jan 21, 2025
e5eb613
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.474.0
speakeasybot Jan 24, 2025
dd4d8fa
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.476.0
speakeasybot Jan 25, 2025
e09b14c
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.477.2
speakeasybot Jan 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.453.8
  • Loading branch information
speakeasybot committed Dec 10, 2024
commit 694562ebcd6138842f8a56a654e8db7053067883
10 changes: 5 additions & 5 deletions workflows_definition/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ id: 8727d4ad-f9cf-4aa1-993f-c90fc6591190
management:
docChecksum: 8a2ff4be25db818a35891d602baa4a25
docVersion: 1.0.0
speakeasyVersion: 1.451.5
generationVersion: 2.471.2
releaseVersion: 1.11.2
configChecksum: 623087694613aa87a3e1d881c1dc9b92
speakeasyVersion: 1.453.8
generationVersion: 2.474.15
releaseVersion: 1.11.3
configChecksum: e612cc6b5d3c5e58a3267822d11af76e
repoURL: https://github.com/epilot-dev/sdk-python.git
repoSubDirectory: workflows_definition
installationURL: https://github.com/epilot-dev/sdk-python.git#subdirectory=workflows_definition
features:
python:
additionalDependencies: 1.0.0
core: 5.6.9
core: 5.6.11
defaultEnabledRetries: 0.2.0
deprecations: 3.0.0
enumUnions: 0.1.0
Expand Down
32 changes: 16 additions & 16 deletions workflows_definition/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ from openapi import SDK

with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
s.closing_reason.change_reason_status(reason_id="<value>")
) as sdk:
sdk.closing_reason.change_reason_status(reason_id="<value>")

# Use the SDK ...
```
Expand All @@ -50,8 +50,8 @@ from openapi import SDK
async def main():
async with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
await s.closing_reason.change_reason_status_async(reason_id="<value>")
) as sdk:
await sdk.closing_reason.change_reason_status_async(reason_id="<value>")

# Use the SDK ...

Expand Down Expand Up @@ -94,12 +94,12 @@ Some of the endpoints in this SDK support retries. If you use the SDK without an
To change the default retry strategy for a single API call, simply provide a `RetryConfig` object to the call:
```python
from openapi import SDK
from sdk.utils import BackoffStrategy, RetryConfig
from openapi.utils import BackoffStrategy, RetryConfig

with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
s.closing_reason.change_reason_status(reason_id="<value>",
) as sdk:
sdk.closing_reason.change_reason_status(reason_id="<value>",
RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))

# Use the SDK ...
Expand All @@ -109,13 +109,13 @@ with SDK(
If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
```python
from openapi import SDK
from sdk.utils import BackoffStrategy, RetryConfig
from openapi.utils import BackoffStrategy, RetryConfig

with SDK(
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
s.closing_reason.change_reason_status(reason_id="<value>")
) as sdk:
sdk.closing_reason.change_reason_status(reason_id="<value>")

# Use the SDK ...

Expand Down Expand Up @@ -150,10 +150,10 @@ from openapi import SDK, models

with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
) as sdk:

try:
s.closing_reason.change_reason_status(reason_id="<value>")
sdk.closing_reason.change_reason_status(reason_id="<value>")

# Use the SDK ...

Expand All @@ -178,8 +178,8 @@ from openapi import SDK
with SDK(
server_url="https://workflows-definition.sls.epilot.io",
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
s.closing_reason.change_reason_status(reason_id="<value>")
) as sdk:
sdk.closing_reason.change_reason_status(reason_id="<value>")

# Use the SDK ...

Expand Down Expand Up @@ -284,8 +284,8 @@ from openapi import SDK

with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
s.closing_reason.change_reason_status(reason_id="<value>")
) as sdk:
sdk.closing_reason.change_reason_status(reason_id="<value>")

# Use the SDK ...

Expand Down
10 changes: 9 additions & 1 deletion workflows_definition/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,12 @@ Based on:
- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-definition.yaml
- Speakeasy CLI 1.451.5 (2.471.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.11.2] workflows_definition
- [python v1.11.2] workflows_definition

## 2024-12-10 00:32:11
### Changes
Based on:
- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-definition.yaml
- Speakeasy CLI 1.453.8 (2.474.15) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.11.3] workflows_definition
8 changes: 4 additions & 4 deletions workflows_definition/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ from openapi import SDK

with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
s.closing_reason.change_reason_status(reason_id="<value>")
) as sdk:
sdk.closing_reason.change_reason_status(reason_id="<value>")

# Use the SDK ...
```
Expand All @@ -22,8 +22,8 @@ from openapi import SDK
async def main():
async with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
await s.closing_reason.change_reason_status_async(reason_id="<value>")
) as sdk:
await sdk.closing_reason.change_reason_status_async(reason_id="<value>")

# Use the SDK ...

Expand Down
12 changes: 6 additions & 6 deletions workflows_definition/docs/sdks/closingreasonsdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ from openapi import SDK

with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
s.closing_reason.change_reason_status(reason_id="<value>")
) as sdk:
sdk.closing_reason.change_reason_status(reason_id="<value>")

# Use the SDK ...

Expand Down Expand Up @@ -54,8 +54,8 @@ from openapi import SDK

with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
res = s.closing_reason.create_closing_reason(request={
) as sdk:
res = sdk.closing_reason.create_closing_reason(request={
"status": openapi.ClosingReasonsStatus.ACTIVE,
"title": "better offer",
})
Expand Down Expand Up @@ -94,8 +94,8 @@ from openapi import SDK

with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
res = s.closing_reason.get_all_closing_reasons(include_inactive=True)
) as sdk:
res = sdk.closing_reason.get_all_closing_reasons(include_inactive=True)

if res is not None:
# handle response
Expand Down
32 changes: 16 additions & 16 deletions workflows_definition/docs/sdks/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ from openapi import SDK

with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
res = s.workflows.create_definition(request={
) as sdk:
res = sdk.workflows.create_definition(request={
"flow": [
{
"name": "Initial Information Gathering",
Expand Down Expand Up @@ -129,8 +129,8 @@ from openapi import SDK

with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
s.workflows.delete_definition(definition_id="CustomerRequest")
) as sdk:
sdk.workflows.delete_definition(definition_id="CustomerRequest")

# Use the SDK ...

Expand Down Expand Up @@ -161,8 +161,8 @@ from openapi import SDK

with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
res = s.workflows.get_definition(definition_id="7hj28a")
) as sdk:
res = sdk.workflows.get_definition(definition_id="7hj28a")

if res is not None:
# handle response
Expand Down Expand Up @@ -200,8 +200,8 @@ from openapi import SDK

with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
res = s.workflows.get_definitions()
) as sdk:
res = sdk.workflows.get_definitions()

if res is not None:
# handle response
Expand Down Expand Up @@ -237,8 +237,8 @@ from openapi import SDK

with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
res = s.workflows.get_max_allowed_limit()
) as sdk:
res = sdk.workflows.get_max_allowed_limit()

if res is not None:
# handle response
Expand Down Expand Up @@ -274,8 +274,8 @@ from openapi import SDK

with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
res = s.workflows.get_workflow_closing_reasons(definition_id="fxcwfw")
) as sdk:
res = sdk.workflows.get_workflow_closing_reasons(definition_id="fxcwfw")

if res is not None:
# handle response
Expand Down Expand Up @@ -311,8 +311,8 @@ from openapi import SDK

with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
s.workflows.set_workflow_closing_reasons(definition_id="7889", closing_reasons_ids={
) as sdk:
sdk.workflows.set_workflow_closing_reasons(definition_id="7889", closing_reasons_ids={
"reasons": [
{
"id": "x739cew",
Expand Down Expand Up @@ -350,8 +350,8 @@ from openapi import SDK

with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as s:
res = s.workflows.update_definition(definition_id="7hj28a", workflow_definition={
) as sdk:
res = sdk.workflows.update_definition(definition_id="7hj28a", workflow_definition={
"flow": [
{
"name": "Initial Information Gathering",
Expand Down
2 changes: 1 addition & 1 deletion workflows_definition/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generation:
sdkFlattening: true
telemetryEnabled: false
python:
version: 1.11.2
version: 1.11.3
additionalDependencies:
dev: {}
main: {}
Expand Down
6 changes: 3 additions & 3 deletions workflows_definition/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "openapi"
version = "1.11.2"
version = "1.11.3"
description = "Python Client SDK Generated by Speakeasy"
authors = ["Speakeasy",]
readme = "README-PYPI.md"
Expand All @@ -19,9 +19,9 @@ in-project = true
[tool.poetry.dependencies]
python = "^3.8"
eval-type-backport = "^0.2.0"
httpx = "^0.27.0"
httpx = "^0.28.1"
jsonpath-python = "^1.0.6"
pydantic = "~2.9.2"
pydantic = "~2.10.3"
python-dateutil = "^2.8.2"
typing-inspect = "^0.9.0"

Expand Down
2 changes: 1 addition & 1 deletion workflows_definition/src/openapi/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import importlib.metadata

__title__: str = "openapi"
__version__: str = "1.11.2"
__version__: str = "1.11.3"

try:
if __package__ is not None:
Expand Down
7 changes: 7 additions & 0 deletions workflows_definition/src/openapi/basesdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from openapi._hooks import AfterErrorContext, AfterSuccessContext, BeforeRequestContext
from openapi.utils import RetryConfig, SerializedRequestBody, get_body_content
from typing import Callable, List, Optional, Tuple
from urllib.parse import parse_qs, urlparse


class BaseSDK:
Expand Down Expand Up @@ -141,6 +142,12 @@ def build_request_with_client(
request if request_has_query_params else None,
_globals if request_has_query_params else None,
)
else:
# Pick up the query parameter from the override so they can be
# preserved when building the request later on (necessary as of
# httpx 0.28).
parsed_override = urlparse(str(url_override))
query_params = parse_qs(parsed_override.query, keep_blank_values=True)

headers = utils.get_headers(request, _globals)
headers["Accept"] = accept_header_value
Expand Down
6 changes: 3 additions & 3 deletions workflows_definition/src/openapi/sdkconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ class SDKConfiguration:
server_idx: Optional[int] = 0
language: str = "python"
openapi_doc_version: str = "1.0.0"
sdk_version: str = "1.11.2"
gen_version: str = "2.471.2"
user_agent: str = "speakeasy-sdk/python 1.11.2 2.471.2 1.0.0 openapi"
sdk_version: str = "1.11.3"
gen_version: str = "2.474.15"
user_agent: str = "speakeasy-sdk/python 1.11.3 2.474.15 1.0.0 openapi"
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
timeout_ms: Optional[int] = None

Expand Down