Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
a35a4b5
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.357.3
speakeasybot Aug 8, 2024
ccd3e28
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.358.0
speakeasybot Aug 9, 2024
ce9501d
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.368.0
speakeasybot Aug 15, 2024
2c909fa
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.376.0
speakeasybot Aug 20, 2024
04004e0
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.383.2
speakeasybot Aug 30, 2024
26b2309
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.392.1
speakeasybot Sep 7, 2024
59cf283
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.394.0
speakeasybot Sep 10, 2024
48a6881
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.396.6
speakeasybot Sep 13, 2024
480f65e
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.401.2
speakeasybot Sep 21, 2024
d9357bb
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.405.6
speakeasybot Oct 1, 2024
39ecc30
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.406.0
speakeasybot Oct 3, 2024
ca3a2b7
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.411.1
speakeasybot Oct 8, 2024
3574021
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.421.1
speakeasybot Oct 24, 2024
55dabe9
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.423.5
speakeasybot Oct 31, 2024
2e92b8c
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.426.0
speakeasybot Nov 5, 2024
5581b9d
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.436.0
speakeasybot Nov 9, 2024
a1df762
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.443.0
speakeasybot Nov 22, 2024
00a6fff
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.446.0
speakeasybot Nov 26, 2024
cb5b9b5
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.448.2
speakeasybot Nov 28, 2024
68beb80
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.451.5
speakeasybot Dec 5, 2024
865e3de
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.453.8
speakeasybot Dec 10, 2024
8e0343f
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.455.3
speakeasybot Dec 14, 2024
e014dd3
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.455.7
speakeasybot Dec 17, 2024
3bee802
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.459.2
speakeasybot Dec 21, 2024
dea7514
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.460.2
speakeasybot Dec 24, 2024
f564f5f
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.462.2
speakeasybot Jan 4, 2025
e5f919c
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.465.1
speakeasybot Jan 9, 2025
a39f29c
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.467.0
speakeasybot Jan 10, 2025
8bb0b1d
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.468.2
speakeasybot Jan 12, 2025
614c726
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.468.6
speakeasybot Jan 15, 2025
afccb40
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.468.8
speakeasybot Jan 16, 2025
0aecb55
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.469.2
speakeasybot Jan 20, 2025
4b0d5de
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.469.11
speakeasybot Jan 21, 2025
a609848
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.474.0
speakeasybot Jan 24, 2025
ad548d0
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.476.0
speakeasybot Jan 25, 2025
dab720d
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.436.0
  • Loading branch information
speakeasybot committed Nov 9, 2024
commit 5581b9ddb7980b37457c86414a39c84a635586ef
10 changes: 5 additions & 5 deletions submission/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ id: 33caae79-0482-46e7-9dea-4e7a337d182e
management:
docChecksum: 2ff9f6c43afde1839bb320502ba37d3a
docVersion: 1.0.0
speakeasyVersion: 1.426.0
generationVersion: 2.446.5
releaseVersion: 1.9.1
configChecksum: b52fa9eeedd535631c4a0764507ee75e
speakeasyVersion: 1.436.0
generationVersion: 2.455.2
releaseVersion: 1.9.2
configChecksum: 5f28c3ef5150ce9e5621a896411fa716
repoURL: https://github.com/epilot-dev/sdk-python.git
repoSubDirectory: submission
installationURL: https://github.com/epilot-dev/sdk-python.git#subdirectory=submission
features:
python:
additionalDependencies: 1.0.0
additionalProperties: 1.0.1
core: 5.6.3
core: 5.6.4
defaultEnabledRetries: 0.2.0
deprecations: 3.0.0
enumUnions: 0.1.0
Expand Down
72 changes: 6 additions & 66 deletions submission/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ By default, an API error will raise a models.SDKError exception, which has the f

When custom error responses are specified for an operation, the SDK may also raise their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `create_submission_async` method may raise the following exceptions:

| Error Type | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| models.SDKError | 4XX, 5XX | \*/\* |
| Error Type | Status Code | Content Type |
| --------------- | ----------- | ------------ |
| models.SDKError | 4XX, 5XX | \*/\* |

### Example

Expand Down Expand Up @@ -326,66 +326,6 @@ except models.SDKError as e:
<!-- Start Server Selection [server] -->
## Server Selection

### Select Server by Index

You can override the default server globally by passing a server index to the `server_idx: int` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:

| # | Server | Variables |
| - | ------ | --------- |
| 0 | `https://submission.sls.epilot.io` | None |

#### Example

```python
import epilot_submission
from epilot_submission import Epilot

s = Epilot(
server_idx=0,
)

s.submissions.create_submission(request={
"entities": [
epilot_submission.SubmissionEntity(
schema_=epilot_submission.Schema.SUBMISSION,
description="Submission created via API",
files=[
epilot_submission.Files(
s3ref={
"bucket": "epilot-user-content",
"key": "temp/123/4d689aeb-1497-4410-a9fe-b36ca9ac4389/document.pdf",
},
filename="document.pdf",
**{

},
),
],
**{
"contact_first_name": "First",
"contact_last_name": "Last",
"contact_email": "example@submission.com",
"request": "I would like to know more about electric vehicles",
},
),
],
"organization_id": "123",
"source_id": "ce99875f-fba9-4fe2-a8f9-afaf52059051",
"source_type": "journey",
"journey_submit_id": "123",
"opt_ins": [
{
"identifier": "example@email.com",
"topic": "EMAIL_MARKETING",
},
],
})

# Use the SDK ...

```


### Override Server URL Per-Client

The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
Expand Down Expand Up @@ -527,9 +467,9 @@ s = Epilot(async_client=CustomClient(httpx.AsyncClient()))

This SDK supports the following security scheme globally:

| Name | Type | Scheme |
| ------------- | ------------- | ------------- |
| `epilot_auth` | http | HTTP Bearer |
| Name | Type | Scheme |
| ------------- | ---- | ----------- |
| `epilot_auth` | http | HTTP Bearer |

To authenticate with the API the `epilot_auth` parameter must be set when initializing the SDK client instance. For example:
```python
Expand Down
10 changes: 9 additions & 1 deletion submission/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,12 @@ Based on:
- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/submission-api.yaml
- Speakeasy CLI 1.426.0 (2.446.5) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.9.1] submission
- [python v1.9.1] submission

## 2024-11-09 00:25:22
### Changes
Based on:
- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/submission-api.yaml
- Speakeasy CLI 1.436.0 (2.455.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.9.2] submission
4 changes: 3 additions & 1 deletion submission/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,19 @@ generation:
requestResponseComponentNamesFeb2024: false
auth:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
sdkFlattening: true
telemetryEnabled: false
python:
version: 1.9.1
version: 1.9.2
additionalDependencies:
dev: {}
main: {}
author: epilot
authors:
- Speakeasy
clientServerStatusCodesAsErrors: true
defaultErrorName: SDKError
description: Python Client SDK for Epilot
enumFormat: enum
fixFlags:
Expand Down
2 changes: 1 addition & 1 deletion submission/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "epilot-submission"
version = "1.9.1"
version = "1.9.2"
description = "Python Client SDK for Epilot"
authors = ["Speakeasy",]
readme = "README-PYPI.md"
Expand Down
2 changes: 1 addition & 1 deletion submission/src/epilot_submission/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import importlib.metadata

__title__: str = "epilot-submission"
__version__: str = "1.9.1"
__version__: str = "1.9.2"

try:
if __package__ is not None:
Expand Down
6 changes: 3 additions & 3 deletions submission/src/epilot_submission/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.9.1"
gen_version: str = "2.446.5"
user_agent: str = "speakeasy-sdk/python 1.9.1 2.446.5 1.0.0 epilot-submission"
sdk_version: str = "1.9.2"
gen_version: str = "2.455.2"
user_agent: str = "speakeasy-sdk/python 1.9.2 2.455.2 1.0.0 epilot-submission"
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
timeout_ms: Optional[int] = None

Expand Down