Skip to content

Commit 5d426d5

Browse files
authored
Merge pull request #7 from mfbx9da4/patch-1
fix: generation and make the SDK more idiomatic by enabling kwargs
2 parents 2a290a0 + 919d693 commit 5d426d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.speakeasy/gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ python:
3030
fixFlags:
3131
responseRequiredSep2024: true
3232
flattenGlobalSecurity: true
33-
flattenRequests: false
33+
flattenRequests: true # keyword arguments are more idiomatic in python
3434
flatteningOrder: parameters-first
3535
imports:
3636
option: openapi
@@ -41,7 +41,7 @@ python:
4141
shared: ""
4242
webhooks: ""
4343
inputModelSuffix: input
44-
maxMethodParams: 4
44+
maxMethodParams: 999 # an arbitrarily high number, keyword arguments are more idiomatic in python
4545
methodArguments: infer-optional-args
4646
outputModelSuffix: output
4747
packageName: apideck-unify

0 commit comments

Comments
 (0)