Skip to content

Commit 1782536

Browse files
committed
## Python SDK Changes Detected:
* `shippo.batches.create()`: * `request.batch_shipments.[].shipment.parcels.[].[parcel_create_from_template_request].template.[parcel_template_couriers_please_enum]` **Removed** **Breaking** ⚠️ * `shippo.batches.add_shipments()`: * `request_body.[].shipment.parcels.[].[parcel_create_from_template_request].template.[parcel_template_couriers_please_enum]` **Removed** **Breaking** ⚠️ * `shippo.carrier_accounts.register()`: `request` **Changed** **Breaking** ⚠️ * `shippo.rates_at_checkout.create()`: * `request.parcel.[parcel].template.[parcel_template_couriers_please_enum]` **Removed** **Breaking** ⚠️ * `shippo.parcels.create()`: * `request.[parcel_create_from_template_request].template.[parcel_template_couriers_please_enum]` **Removed** **Breaking** ⚠️ * `response.template.[parcel_template_couriers_please_enum]` **Removed** * `shippo.shipments.create()`: * `request.parcels.[].[parcel_create_from_template_request].template.[parcel_template_couriers_please_enum]` **Removed** **Breaking** ⚠️ * `response.parcels.[].template.[parcel_template_couriers_please_enum]` **Removed** * `shippo.transactions.create()`: * `request.[instant_transaction_create_request].shipment.parcels.[].[parcel_create_from_template_request].template.[parcel_template_couriers_please_enum]` **Removed** **Breaking** ⚠️ * `shippo.carrier_accounts.list()`: * `request.carrier` **Changed** * `shippo.parcels.list()`: `response.results.[].template.[parcel_template_couriers_please_enum]` **Removed** * `shippo.parcels.get()`: `response.template.[parcel_template_couriers_please_enum]` **Removed** * `shippo.shipments.list()`: `response.results.[].parcels.[].template.[parcel_template_couriers_please_enum]` **Removed** * `shippo.shipments.get()`: `response.parcels.[].template.[parcel_template_couriers_please_enum]` **Removed**
1 parent cdbe0c1 commit 1782536

13 files changed

Lines changed: 103 additions & 20 deletions

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
**/__pycache__/
2+
**/.speakeasy/temp/
3+
**/.speakeasy/logs/
4+
.env
5+
.env.local
16
.venv/
27
pyrightconfig.json
38
.speakeasy/reports

.speakeasy/gen.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 986026b6-d725-4b86-9c4d-67f6e6904a30
33
management:
4-
docChecksum: ace15c0d1b81b595278d710d80bb795b
4+
docChecksum: a604b58890b17d9866248a0ff5d06466
55
docVersion: "2018-02-08"
66
speakeasyVersion: 1.521.1
77
generationVersion: 2.558.5
8-
releaseVersion: 4.0.0
9-
configChecksum: 2bfc606265cf61a2b40af4e9c57595e5
8+
releaseVersion: 4.1.1
9+
configChecksum: 6379934d81cdca154dd764cf3cc0d15a
1010
repoURL: https://github.com/goshippo/shippo-python-sdk.git
1111
installationURL: https://github.com/goshippo/shippo-python-sdk.git
1212
published: true
@@ -1493,3 +1493,4 @@ examples:
14931493
webhookId: "<id>"
14941494
examplesVersion: 1.0.0
14951495
generatedTests: {}
1496+
releaseNotes: "## Python SDK Changes Detected:\n* `shippo.batches.create()`: \n * `request.batch_shipments.[].shipment.parcels.[].[parcel_create_from_template_request].template.[parcel_template_couriers_please_enum]` **Removed** **Breaking** :warning:\n* `shippo.batches.add_shipments()`: \n * `request_body.[].shipment.parcels.[].[parcel_create_from_template_request].template.[parcel_template_couriers_please_enum]` **Removed** **Breaking** :warning:\n* `shippo.carrier_accounts.register()`: `request` **Changed** **Breaking** :warning:\n* `shippo.rates_at_checkout.create()`: \n * `request.parcel.[parcel].template.[parcel_template_couriers_please_enum]` **Removed** **Breaking** :warning:\n* `shippo.parcels.create()`: \n * `request.[parcel_create_from_template_request].template.[parcel_template_couriers_please_enum]` **Removed** **Breaking** :warning:\n * `response.template.[parcel_template_couriers_please_enum]` **Removed**\n* `shippo.shipments.create()`: \n * `request.parcels.[].[parcel_create_from_template_request].template.[parcel_template_couriers_please_enum]` **Removed** **Breaking** :warning:\n * `response.parcels.[].template.[parcel_template_couriers_please_enum]` **Removed**\n* `shippo.transactions.create()`: \n * `request.[instant_transaction_create_request].shipment.parcels.[].[parcel_create_from_template_request].template.[parcel_template_couriers_please_enum]` **Removed** **Breaking** :warning:\n* `shippo.carrier_accounts.list()`: \n * `request.carrier` **Changed**\n* `shippo.parcels.list()`: `response.results.[].template.[parcel_template_couriers_please_enum]` **Removed**\n* `shippo.parcels.get()`: `response.template.[parcel_template_couriers_please_enum]` **Removed**\n* `shippo.shipments.list()`: `response.results.[].parcels.[].template.[parcel_template_couriers_please_enum]` **Removed**\n* `shippo.shipments.get()`: `response.parcels.[].template.[parcel_template_couriers_please_enum]` **Removed**\n"

.speakeasy/gen.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,37 @@ generation:
44
maintainOpenAPIOrder: true
55
usageSnippets:
66
optionalPropertyRendering: withExample
7+
sdkInitStyle: constructor
78
useClassNamesForArrayFields: true
89
fixes:
910
nameResolutionDec2023: true
1011
nameResolutionFeb2025: true
1112
parameterOrderingFeb2024: true
1213
requestResponseComponentNamesFeb2024: true
1314
securityFeb2025: false
15+
sharedErrorComponentsApr2025: false
1416
auth:
1517
oAuth2ClientCredentialsEnabled: true
1618
oAuth2PasswordEnabled: false
19+
requestBodyFieldName: ""
20+
schemas:
21+
allOfMergeStrategy: shallowMerge
1722
python:
18-
version: 4.0.0
23+
version: 4.1.1
1924
additionalDependencies:
2025
dev:
2126
httpretty: ==1.1.4
2227
marshmallow: ==3.23.1
2328
pytest: ==8.3.3
2429
pytest-asyncio: ==0.25.3
2530
main: {}
31+
allowedRedefinedBuiltins:
32+
- id
33+
- object
34+
asyncMode: both
2635
authors:
2736
- Shippo
37+
baseErrorName: ShippoError
2838
clientServerStatusCodesAsErrors: true
2939
defaultErrorName: SDKError
3040
description: Shipping API Python library (USPS, FedEx, UPS and more)
@@ -44,12 +54,17 @@ python:
4454
shared: models/components
4555
webhooks: models/webhooks
4656
inputModelSuffix: input
57+
legacyPyright: true
4758
license: MIT License
4859
maxMethodParams: 3
4960
methodArguments: require-security-and-request
61+
moduleName: ""
5062
outputModelSuffix: output
63+
packageManager: poetry
5164
packageName: shippo
5265
projectUrls: {}
66+
pytestFilterWarnings: []
5367
pytestTimeout: 0
5468
responseFormat: flat
69+
sseFlatResponse: false
5570
templateVersion: v2

.speakeasy/workflow.lock

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,20 @@ speakeasyVersion: 1.521.1
22
sources:
33
openapi:
44
sourceNamespace: openapi
5-
sourceRevisionDigest: sha256:e8ab98342833888dbc4dd20f683ee5fb7791107d8574b8dfabce743bc3675cd0
6-
sourceBlobDigest: sha256:8c66d55b10c00886e8fd1f2b6ea6b233bccf17f622fed046dcf302d5da3f91f5
5+
sourceRevisionDigest: sha256:0103ceee5abdcbf8540dcdc587cd8bf53b2578a86f34da9f46c77344cd6a2101
6+
sourceBlobDigest: sha256:837dd96a398ffe17b41e0d6a5f66eb1ebe4167f313b855533d8085dc385235b9
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1732493299
9+
- speakeasy-sdk-regen-1743448946
1010
- "2018-02-08"
1111
targets:
1212
first-target:
1313
source: openapi
1414
sourceNamespace: openapi
15-
sourceRevisionDigest: sha256:e8ab98342833888dbc4dd20f683ee5fb7791107d8574b8dfabce743bc3675cd0
16-
sourceBlobDigest: sha256:8c66d55b10c00886e8fd1f2b6ea6b233bccf17f622fed046dcf302d5da3f91f5
15+
sourceRevisionDigest: sha256:0103ceee5abdcbf8540dcdc587cd8bf53b2578a86f34da9f46c77344cd6a2101
16+
sourceBlobDigest: sha256:837dd96a398ffe17b41e0d6a5f66eb1ebe4167f313b855533d8085dc385235b9
17+
codeSamplesNamespace: openapi-python-code-samples
18+
codeSamplesRevisionDigest: sha256:076e7793505841d464d3588ad8e116471ec5e04894db718c08d514485a0880a4
1719
workflow:
1820
workflowVersion: 1.0.0
1921
speakeasyVersion: latest
@@ -32,5 +34,5 @@ workflow:
3234
token: $pypi_token
3335
codeSamples:
3436
registry:
35-
location: registry.speakeasyapi.dev/shippo/shippo/openapi-code-samples
37+
location: registry.speakeasyapi.dev/shippo/shippo/openapi-python-code-samples
3638
blocking: false

.speakeasy/workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ targets:
1515
token: $pypi_token
1616
codeSamples:
1717
registry:
18-
location: registry.speakeasyapi.dev/shippo/shippo/openapi-code-samples
18+
location: registry.speakeasyapi.dev/shippo/shippo/openapi-python-code-samples
1919
blocking: false

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,4 +398,14 @@ Based on:
398398
### Generated
399399
- [python v3.9.0] .
400400
### Releases
401-
- [PyPI v3.9.0] https://pypi.org/project/shippo/3.9.0 - .
401+
- [PyPI v3.9.0] https://pypi.org/project/shippo/3.9.0 - .
402+
403+
## 2025-11-17 00:09:02
404+
### Changes
405+
Based on:
406+
- OpenAPI Doc
407+
- Speakeasy CLI 1.521.1 (2.558.5) https://github.com/speakeasy-api/speakeasy
408+
### Generated
409+
- [python v4.1.1] .
410+
### Releases
411+
- [PyPI v4.1.1] https://pypi.org/project/shippo/4.1.1 - .

docs/models/components/fedexconnectexistingownaccountparameters.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# FedExConnectExistingOwnAccountParameters
22

3+
In the case of masked fields, they should be handled carefully.
4+
5+
Fields also must consider:
6+
- Not providing a *fields* in parameters will not result in a change to any configured value
7+
- Providing a value in a *masked field* with ****** (exactly 6 asterisks) will not change the configured value
8+
- Providing *field* with null will clear the configured value
9+
- Providing *field* with any other value will change the configured value and may affect the behavior of the account.
10+
11+
312

413
## Fields
514

docs/models/components/upsconnectexistingownaccountparameters.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
An array of additional parameters for the account, such as e.g. password or token.
44
Please check the <a href="https://docs.goshippo.com/docs/carriers/carrieraccounts/">carrier accounts tutorial</a> page for the parameters per carrier.<br>
55
To protect account information, this field will be masked in any API response.
6+
In the case of masked fields, they should be handled carefully.
7+
8+
Fields also must consider:
9+
- Not providing a *fields* in parameters will not result in a change to any configured value
10+
- Providing a value in a *masked field* with ****** (exactly 6 asterisks) will not change the configured value
11+
- Providing *field* with null will clear the configured value
12+
- Providing *field* with any other value will change the configured value and may affect the behavior of the account.
613

714

815
## Fields

poetry.lock

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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "shippo"
3-
version = "4.0.0"
3+
version = "4.1.1"
44
description = "Shipping API Python library (USPS, FedEx, UPS and more)"
55
authors = [{ name = "Shippo" },]
66
readme = "README-PYPI.md"

0 commit comments

Comments
 (0)