Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
**/__pycache__/

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant gitignore entry for pycache

Low Severity

The newly added **/__pycache__/ pattern on line 1 makes the existing __pycache__/ entry on line 11 redundant. The **/ glob prefix matches at any directory level including root, so the more specific entry provides no additional coverage.

Fix in CursorΒ Fix in Web

**/.speakeasy/temp/
**/.speakeasy/logs/
.env
.env.local
.venv/
pyrightconfig.json
.speakeasy/reports
Expand Down
4,627 changes: 3,799 additions & 828 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

44 changes: 43 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,66 @@ generation:
maintainOpenAPIOrder: true
usageSnippets:
optionalPropertyRendering: withExample
sdkInitStyle: constructor
useClassNamesForArrayFields: true
fixes:
nameResolutionDec2023: true
nameResolutionFeb2025: true
parameterOrderingFeb2024: true
requestResponseComponentNamesFeb2024: true
securityFeb2025: false
sharedErrorComponentsApr2025: false
sharedNestedComponentsJan2026: false
nameOverrideFeb2026: false
auth:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
hoistGlobalSecurity: true
schemas:
allOfMergeStrategy: shallowMerge
requestBodyFieldName: ""
versioningStrategy: automatic
persistentEdits: {}
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 4.0.0
version: 5.0.0
additionalDependencies:
dev:
httpretty: ==1.1.4
marshmallow: ==3.23.1
pytest: ==8.3.3
pytest-asyncio: ==0.25.3
main: {}
allowedRedefinedBuiltins:
- id
- object
- dir
asyncMode: both
authors:
- Shippo
baseErrorName: ShippoError
bodyVariantOverloads: false
clientServerStatusCodesAsErrors: true
constFieldCasing: upper
defaultErrorName: SDKError
description: Shipping API Python library (USPS, FedEx, UPS and more)
enableCustomCodeRegions: false
enumFormat: enum
eventStreamClassNames:
async: EventStreamAsync
sync: EventStream
fixFlags:
asyncPaginationSep2025: false
conflictResistantModelImportsFeb2026: false
responseRequiredSep2024: false
flattenGlobalSecurity: true
flattenRequests: false
flatteningOrder: parameters-first
forwardCompatibleEnumsByDefault: false
forwardCompatibleUnionsByDefault: "false"
imports:
option: openapi
paths:
Expand All @@ -43,13 +72,26 @@ python:
operations: models/operations
shared: models/components
webhooks: models/webhooks
inferUnionDiscriminators: true
inputModelSuffix: input
inputTypedDictSuffix: TypedDict
license: MIT License
maxMethodParams: 3
methodArguments: require-security-and-request
methodTimeoutArgument: timeout-ms
methodTimeoutUnits: milliseconds
moduleName: ""
multipartArrayFormat: legacy
optionalDependencies: {}
outputModelSuffix: output
packageManager: poetry
packageName: shippo
preApplyUnionDiscriminators: false
projectUrls: {}
pytestFilterWarnings: []
pytestTimeout: 0
rawResponseHelpers: false
responseFormat: flat
sseFlatResponse: false
templateVersion: v2
useAsyncHooks: false
15 changes: 8 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
speakeasyVersion: 1.521.1
speakeasyVersion: 1.778.0
sources:
openapi:
sourceNamespace: openapi
sourceRevisionDigest: sha256:e8ab98342833888dbc4dd20f683ee5fb7791107d8574b8dfabce743bc3675cd0
sourceBlobDigest: sha256:8c66d55b10c00886e8fd1f2b6ea6b233bccf17f622fed046dcf302d5da3f91f5
sourceRevisionDigest: sha256:1ab443f46dd1443a0bd96ffd3a7b8206a51b8992d5f1a8b041a07be24af2dc3c
sourceBlobDigest: sha256:4088d67bc7e319f5332ca0bf232779d9adc799623eda45d48a2d6d2e7f51d924
tags:
- latest
- speakeasy-sdk-regen-1732493299
- "2018-02-08"
targets:
first-target:
source: openapi
sourceNamespace: openapi
sourceRevisionDigest: sha256:e8ab98342833888dbc4dd20f683ee5fb7791107d8574b8dfabce743bc3675cd0
sourceBlobDigest: sha256:8c66d55b10c00886e8fd1f2b6ea6b233bccf17f622fed046dcf302d5da3f91f5
sourceRevisionDigest: sha256:1ab443f46dd1443a0bd96ffd3a7b8206a51b8992d5f1a8b041a07be24af2dc3c
sourceBlobDigest: sha256:4088d67bc7e319f5332ca0bf232779d9adc799623eda45d48a2d6d2e7f51d924
codeSamplesNamespace: openapi-python-code-samples
codeSamplesRevisionDigest: sha256:dbf0fd402ae0d822b8bd93ecc6ba3b4f7e86ff47bd2f6ec8598aab7cd48919a7
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand All @@ -32,5 +33,5 @@ workflow:
token: $pypi_token
codeSamples:
registry:
location: registry.speakeasyapi.dev/shippo/shippo/openapi-code-samples
location: registry.speakeasyapi.dev/shippo/shippo/openapi-python-code-samples
blocking: false
2 changes: 1 addition & 1 deletion .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ targets:
token: $pypi_token
codeSamples:
registry:
location: registry.speakeasyapi.dev/shippo/shippo/openapi-code-samples
location: registry.speakeasyapi.dev/shippo/shippo/openapi-python-code-samples
blocking: false
Loading
Loading