Skip to content

Commit 06dba6d

Browse files
speakeasybotfrankie567
authored andcommitted
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.401.2
1 parent 39f3e1a commit 06dba6d

File tree

170 files changed

+1289
-3101
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+1289
-3101
lines changed

.speakeasy/gen.lock

+52-55
Large diffs are not rendered by default.

.speakeasy/gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generation:
1515
auth:
1616
oAuth2ClientCredentialsEnabled: true
1717
python:
18-
version: 0.3.0
18+
version: 0.4.0
1919
additionalDependencies:
2020
dev: {}
2121
main: {}

.speakeasy/workflow.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
speakeasyVersion: 1.399.2
1+
speakeasyVersion: 1.401.2
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:845dacdd7a7a8361e00244e91be8d5238df1630b8d43a880081955a4d0bc131a
6-
sourceBlobDigest: sha256:be5d595269c5d0a01528d11da1b2fbaea4a2f76c96d09aaab78fc853af5be99d
5+
sourceRevisionDigest: sha256:8d5fb0423da8ca6a24760219ffefcca85ec271acd8f03b0fc628e45e4e2e4056
6+
sourceBlobDigest: sha256:076ed9fc10fc15ab5763bf35e9cbd3c49a7f3581e901b06ea875dd05b5b8e2f7
77
tags:
88
- latest
99
- main
1010
targets:
1111
polar:
1212
source: Polar-OAS
1313
sourceNamespace: polar-oas
14-
sourceRevisionDigest: sha256:845dacdd7a7a8361e00244e91be8d5238df1630b8d43a880081955a4d0bc131a
15-
sourceBlobDigest: sha256:be5d595269c5d0a01528d11da1b2fbaea4a2f76c96d09aaab78fc853af5be99d
14+
sourceRevisionDigest: sha256:8d5fb0423da8ca6a24760219ffefcca85ec271acd8f03b0fc628e45e4e2e4056
15+
sourceBlobDigest: sha256:076ed9fc10fc15ab5763bf35e9cbd3c49a7f3581e901b06ea875dd05b5b8e2f7
1616
workflow:
1717
workflowVersion: 1.0.0
1818
speakeasyVersion: latest

README.md

-36
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,6 @@ asyncio.run(main())
194194
### [subscriptions](docs/sdks/subscriptions/README.md)
195195

196196
* [list](docs/sdks/subscriptions/README.md#list) - List Subscriptions
197-
* [create](docs/sdks/subscriptions/README.md#create) - Create Free Subscription
198-
* [import_subscriptions](docs/sdks/subscriptions/README.md#import_subscriptions) - Import Subscriptions
199197
* [export](docs/sdks/subscriptions/README.md#export) - Export Subscriptions
200198

201199
### [users](docs/sdks/users/README.md)
@@ -237,46 +235,13 @@ asyncio.run(main())
237235
#### [users.subscriptions](docs/sdks/polarsubscriptions/README.md)
238236

239237
* [list](docs/sdks/polarsubscriptions/README.md#list) - List Subscriptions
240-
* [create](docs/sdks/polarsubscriptions/README.md#create) - Create Free Subscription
241238
* [get](docs/sdks/polarsubscriptions/README.md#get) - Get Subscription
242239
* [update](docs/sdks/polarsubscriptions/README.md#update) - Update Subscription
243240
* [cancel](docs/sdks/polarsubscriptions/README.md#cancel) - Cancel Subscription
244241

245242
</details>
246243
<!-- End Available Resources and Operations [operations] -->
247244

248-
<!-- Start File uploads [file-upload] -->
249-
## File uploads
250-
251-
Certain SDK methods accept file objects as part of a request body or multi-part request. It is possible and typically recommended to upload files as a stream rather than reading the entire contents into memory. This avoids excessive memory consumption and potentially crashing with out-of-memory errors when working with very large files. The following example demonstrates how to attach a file stream to a request.
252-
253-
> [!TIP]
254-
>
255-
> For endpoints that handle file uploads bytes arrays can also be used. However, using streams is recommended for large files.
256-
>
257-
258-
```python
259-
from polar_sdk import Polar
260-
261-
s = Polar(
262-
access_token="<YOUR_BEARER_TOKEN_HERE>",
263-
)
264-
265-
res = s.subscriptions.import_subscriptions(request={
266-
"file": {
267-
"file_name": "example.file",
268-
"content": open("example.file", "rb"),
269-
},
270-
"organization_id": "<value>",
271-
})
272-
273-
if res is not None:
274-
# handle response
275-
pass
276-
277-
```
278-
<!-- End File uploads [file-upload] -->
279-
280245
<!-- Start Retries [retries] -->
281246
## Retries
282247

@@ -598,7 +563,6 @@ Read the docs at https://docs.polar.sh/api
598563
* [SDK Example Usage](#sdk-example-usage)
599564
* [Available Resources and Operations](#available-resources-and-operations)
600565
* [Pagination](#pagination)
601-
* [File uploads](#file-uploads)
602566
* [Retries](#retries)
603567
* [Error Handling](#error-handling)
604568
* [Server Selection](#server-selection)

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,14 @@ Based on:
163163
### Generated
164164
- [python v0.3.0] .
165165
### Releases
166-
- [PyPI v0.3.0] https://pypi.org/project/polar-sdk/0.3.0 - .
166+
- [PyPI v0.3.0] https://pypi.org/project/polar-sdk/0.3.0 - .
167+
168+
## 2024-09-23 08:59:59
169+
### Changes
170+
Based on:
171+
- OpenAPI Doc
172+
- Speakeasy CLI 1.401.2 (2.421.3) https://github.com/speakeasy-api/speakeasy
173+
### Generated
174+
- [python v0.4.0] .
175+
### Releases
176+
- [PyPI v0.4.0] https://pypi.org/project/polar-sdk/0.4.0 - .

0 commit comments

Comments
 (0)