Skip to content

Commit

Permalink
Merge pull request #1 from speakeasy-api/speakeasy-sdk-regen-1722535884
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 7.0.0-rc.0
  • Loading branch information
ThomasRooney authored Aug 1, 2024
2 parents a1f43bc + 5a4b0b3 commit b09cefe
Show file tree
Hide file tree
Showing 73 changed files with 369 additions and 232 deletions.
15 changes: 8 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ id: b0b519b1-d1d3-43b2-82dd-b4292eadd4b0
management:
docChecksum: 312822a7ccdbf7c77dbbfeef49fb2053
docVersion: 0.4.0 .
speakeasyVersion: 1.346.3
generationVersion: 2.379.6
releaseVersion: 6.3.0
configChecksum: 511764c1ed21807dbbda4fcd048339ff
speakeasyVersion: 1.351.1
generationVersion: 2.384.3
releaseVersion: 7.0.0-rc.0
configChecksum: 1d686a63e7865a7b7cb6ff50fbdaeda1
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-python.git
repoSubDirectory: .
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-python.git
Expand All @@ -15,11 +15,11 @@ features:
python:
acceptHeaders: 3.0.0
additionalDependencies: 1.0.0
core: 5.2.4
core: 5.3.1
defaultEnabledRetries: 0.2.0
deprecations: 3.0.0
downloadStreams: 1.0.0
envVarSecurityUsage: 0.2.0
downloadStreams: 1.0.1
envVarSecurityUsage: 0.2.1
examples: 3.0.0
globalSecurity: 3.0.0
globalSecurityCallbacks: 1.0.0
Expand Down Expand Up @@ -69,6 +69,7 @@ generatedFiles:
- src/speakeasy_client_sdk_python/utils/eventstreaming.py
- src/speakeasy_client_sdk_python/utils/forms.py
- src/speakeasy_client_sdk_python/utils/headers.py
- src/speakeasy_client_sdk_python/utils/logger.py
- src/speakeasy_client_sdk_python/utils/metadata.py
- src/speakeasy_client_sdk_python/utils/queryparams.py
- src/speakeasy_client_sdk_python/utils/requestbodies.py
Expand Down
3 changes: 3 additions & 0 deletions .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ generation:
oAuth2ClientCredentialsEnabled: false
python:
version: 7.0.0-rc.0
additionalDependencies:
dev: {}
main: {}
authors:
- Speakeasy
clientServerStatusCodesAsErrors: true
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.346.3
speakeasyVersion: 1.351.1
sources:
speakeasy-openapi:
sourceNamespace: speakeasy-openapi
sourceRevisionDigest: sha256:d406788bc634eed35f120d28218a266db43ece356bf8604e3d0e58c11186990e
sourceBlobDigest: sha256:469530993014d334b464cacfcc662663e2e72db61a1ad2838b91e4c8fab4f3f3
sourceRevisionDigest: sha256:02836429166e1c637402f0f067f36aed1706d9ee7693eee13cd84382cdcc8df4
sourceBlobDigest: sha256:e3e8d5f794c2d732b4bee571c092e80d1aaf1a5e3e998300b313ee4b8f9fc012
tags:
- latest
- main
targets:
speakeasy-client-sdk-python:
source: speakeasy-openapi
sourceNamespace: speakeasy-openapi
sourceRevisionDigest: sha256:d406788bc634eed35f120d28218a266db43ece356bf8604e3d0e58c11186990e
sourceBlobDigest: sha256:469530993014d334b464cacfcc662663e2e72db61a1ad2838b91e4c8fab4f3f3
sourceRevisionDigest: sha256:02836429166e1c637402f0f067f36aed1706d9ee7693eee13cd84382cdcc8df4
sourceBlobDigest: sha256:e3e8d5f794c2d732b4bee571c092e80d1aaf1a5e3e998300b313ee4b8f9fc012
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -541,14 +541,14 @@ s = Speakeasy(


res = s.schemas.register_schema(request={
"api_id": "<value>",
"version_id": "<value>",
"request_body": {
"file": {
"content": open("<file_path>", "rb"),
"file_name": "your_file_here",
},
},
"api_id": "<value>",
"version_id": "<value>",
})

if res is not None:
Expand All @@ -558,6 +558,20 @@ if res is not None:
```
<!-- End File uploads [file-upload] -->

<!-- Start Debugging [debug] -->
## Debugging

To emit debug logs for SDK requests and responses you can pass a logger object directly into your SDK object.

```python
from speakeasy_client_sdk_python import Speakeasy
import logging

logging.basicConfig(level=logging.DEBUG)
s = Speakeasy(debug_logger=logging.getLogger("speakeasy_client_sdk_python"))
```
<!-- End Debugging [debug] -->

<!-- Placeholder for Future Speakeasy SDK Sections -->


Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1766,4 +1766,14 @@ Based on:
### Generated
- [python v6.3.0] .
### Releases
- [PyPI v6.3.0] https://pypi.org/project/speakeasy-client-sdk-python/6.3.0 - .
- [PyPI v6.3.0] https://pypi.org/project/speakeasy-client-sdk-python/6.3.0 - .

## 2024-08-01 18:11:22
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.351.1 (2.384.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v7.0.0-rc.0] .
### Releases
- [PyPI v7.0.0-rc.0] https://pypi.org/project/speakeasy-client-sdk-python/7.0.0-rc.0 - .
4 changes: 2 additions & 2 deletions docs/models/operations/deleteapiendpointrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

| Field | Type | Required | Description |
| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- |
| `api_endpoint_id` | *str* | :heavy_check_mark: | The ID of the ApiEndpoint to delete. |
| `api_id` | *str* | :heavy_check_mark: | The ID of the Api the ApiEndpoint belongs to. |
| `version_id` | *str* | :heavy_check_mark: | The version ID of the Api the ApiEndpoint belongs to. |
| `version_id` | *str* | :heavy_check_mark: | The version ID of the Api the ApiEndpoint belongs to. |
| `api_endpoint_id` | *str* | :heavy_check_mark: | The ID of the ApiEndpoint to delete. |
4 changes: 2 additions & 2 deletions docs/models/operations/deleteschemarequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
| Field | Type | Required | Description |
| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- |
| `api_id` | *str* | :heavy_check_mark: | The ID of the Api to delete schemas for. |
| `revision_id` | *str* | :heavy_check_mark: | The revision ID of the schema to delete. |
| `version_id` | *str* | :heavy_check_mark: | The version ID of the Api to delete metadata for. |
| `version_id` | *str* | :heavy_check_mark: | The version ID of the Api to delete metadata for. |
| `revision_id` | *str* | :heavy_check_mark: | The revision ID of the schema to delete. |
4 changes: 2 additions & 2 deletions docs/models/operations/deleteversionmetadatarequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
| Field | Type | Required | Description |
| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- |
| `api_id` | *str* | :heavy_check_mark: | The ID of the Api to delete metadata for. |
| `version_id` | *str* | :heavy_check_mark: | The version ID of the Api to delete metadata for. |
| `meta_key` | *str* | :heavy_check_mark: | The key of the metadata to delete. |
| `meta_value` | *str* | :heavy_check_mark: | The value of the metadata to delete. |
| `version_id` | *str* | :heavy_check_mark: | The version ID of the Api to delete metadata for. |
| `meta_value` | *str* | :heavy_check_mark: | The value of the metadata to delete. |
4 changes: 2 additions & 2 deletions docs/models/operations/downloadschemarevisionrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
| Field | Type | Required | Description |
| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- |
| `api_id` | *str* | :heavy_check_mark: | The ID of the Api to retrieve schemas for. |
| `revision_id` | *str* | :heavy_check_mark: | The revision ID of the schema to retrieve. |
| `version_id` | *str* | :heavy_check_mark: | The version ID of the Api to delete metadata for. |
| `version_id` | *str* | :heavy_check_mark: | The version ID of the Api to delete metadata for. |
| `revision_id` | *str* | :heavy_check_mark: | The revision ID of the schema to retrieve. |
4 changes: 2 additions & 2 deletions docs/models/operations/findapiendpointrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
| `api_id` | *str* | :heavy_check_mark: | The ID of the Api the ApiEndpoint belongs to. |
| `display_name` | *str* | :heavy_check_mark: | The displayName of the ApiEndpoint to find (set by operationId from OpenAPI schema). |
| `version_id` | *str* | :heavy_check_mark: | The version ID of the Api the ApiEndpoint belongs to. |
| `version_id` | *str* | :heavy_check_mark: | The version ID of the Api the ApiEndpoint belongs to. |
| `display_name` | *str* | :heavy_check_mark: | The displayName of the ApiEndpoint to find (set by operationId from OpenAPI schema). |
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

| Field | Type | Required | Description |
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
| `api_endpoint_id` | *str* | :heavy_check_mark: | The ID of the ApiEndpoint to generate an OpenAPI specification for. |
| `api_id` | *str* | :heavy_check_mark: | The ID of the Api to generate an OpenAPI specification for. |
| `version_id` | *str* | :heavy_check_mark: | The version ID of the Api to generate an OpenAPI specification for. |
| `version_id` | *str* | :heavy_check_mark: | The version ID of the Api to generate an OpenAPI specification for. |
| `api_endpoint_id` | *str* | :heavy_check_mark: | The ID of the ApiEndpoint to generate an OpenAPI specification for. |
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

| Field | Type | Required | Description |
| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- |
| `api_endpoint_id` | *str* | :heavy_check_mark: | The ID of the ApiEndpoint to generate a Postman collection for. |
| `api_id` | *str* | :heavy_check_mark: | The ID of the Api to generate a Postman collection for. |
| `version_id` | *str* | :heavy_check_mark: | The version ID of the Api to generate a Postman collection for. |
| `version_id` | *str* | :heavy_check_mark: | The version ID of the Api to generate a Postman collection for. |
| `api_endpoint_id` | *str* | :heavy_check_mark: | The ID of the ApiEndpoint to generate a Postman collection for. |
4 changes: 2 additions & 2 deletions docs/models/operations/getallapiversionsrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
| Field | Type | Required | Description |
| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
| `api_id` | *str* | :heavy_check_mark: | The ID of the Api to retrieve. |
| `metadata` | Dict[str, List[*str*]] | :heavy_minus_sign: | Metadata to filter Apis on |
| `op` | [Optional[operations.Op]](../../models/operations/op.md) | :heavy_minus_sign: | Configuration for filter operations |
| `op` | [Optional[operations.Op]](../../models/operations/op.md) | :heavy_minus_sign: | Configuration for filter operations |
| `metadata` | Dict[str, List[*str*]] | :heavy_minus_sign: | Metadata to filter Apis on |
Loading

0 comments on commit b09cefe

Please sign in to comment.