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
  •  
  •  
  •  
1,701 changes: 851 additions & 850 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ generation:
sharedErrorComponentsApr2025: false
sharedNestedComponentsJan2026: false
nameOverrideFeb2026: false
openSingleValueEnumsOct2026: false
auth:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
Expand All @@ -29,7 +30,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 2.4.27
version: 2.4.28
additionalDependencies:
dev:
freezegun: ^1.5.1
Expand Down Expand Up @@ -88,13 +89,15 @@ python:
methodArguments: infer-optional-args
methodTimeoutArgument: timeout-ms
methodTimeoutUnits: milliseconds
modelSerializationMethods: false
moduleName: ""
multipartArrayFormat: legacy
optionalDependencies: {}
outputModelSuffix: output
packageManager: poetry
packageName: gr4vy
preApplyUnionDiscriminators: false
preserveUnknownFields: false
pytestFilterWarnings: []
pytestTimeout: 0
rawResponseHelpers: false
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
speakeasyVersion: 1.801.0
speakeasyVersion: 1.805.0
sources:
openapi:
sourceNamespace: openapi
sourceRevisionDigest: sha256:30350e9f141f4c95e4f581c524d474e94dd44177acde74318c10294f5a3035e0
sourceBlobDigest: sha256:e0a25b4f7427b2e57806ed664e1197df925685b71f4abb6aa5b24ad2f96ef066
sourceRevisionDigest: sha256:335146b889267be4bbf54b532317429552d487b2cd3d4f7e4dbe884a841f36e0
sourceBlobDigest: sha256:866f3cbb8e605465e70702aabb9fdb436826206aa40d0b07277c85a42ff8a3e2
tags:
- latest
- 1.0.0
targets:
python:
source: openapi
sourceNamespace: openapi
sourceRevisionDigest: sha256:30350e9f141f4c95e4f581c524d474e94dd44177acde74318c10294f5a3035e0
sourceBlobDigest: sha256:e0a25b4f7427b2e57806ed664e1197df925685b71f4abb6aa5b24ad2f96ef066
sourceRevisionDigest: sha256:335146b889267be4bbf54b532317429552d487b2cd3d4f7e4dbe884a841f36e0
sourceBlobDigest: sha256:866f3cbb8e605465e70702aabb9fdb436826206aa40d0b07277c85a42ff8a3e2
codeSamplesNamespace: openapi-python-code-samples
codeSamplesRevisionDigest: sha256:ece760987aba8aa6c3adc820a09b6303e86d5a61fa1b8f1c315b356812b64bf7
codeSamplesRevisionDigest: sha256:83143bb71b75e4708b115c3710bf98bf0f47214d0c803b5ff76859c1ba90101f
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ import os

with Gr4vy(
merchant_account_id="default",
bearer_auth=os.getenv("GR4VY_BEARER_AUTH", ""),
bearer_auth=os.getenv("GR4VY_BEARER_AUTH"),
) as g_client:

res = g_client.merchant_accounts.get(merchant_account_id="merchant-12345")
Expand All @@ -629,7 +629,7 @@ import os


with Gr4vy(
bearer_auth=os.getenv("GR4VY_BEARER_AUTH", ""),
bearer_auth=os.getenv("GR4VY_BEARER_AUTH"),
) as g_client:

res = g_client.api_key_pairs.list(limit=20)
Expand All @@ -656,7 +656,7 @@ import os

with Gr4vy(
merchant_account_id="default",
bearer_auth=os.getenv("GR4VY_BEARER_AUTH", ""),
bearer_auth=os.getenv("GR4VY_BEARER_AUTH"),
) as g_client:

res = g_client.account_updater.jobs.create(payment_method_ids=[
Expand All @@ -682,7 +682,7 @@ import os
with Gr4vy(
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
merchant_account_id="default",
bearer_auth=os.getenv("GR4VY_BEARER_AUTH", ""),
bearer_auth=os.getenv("GR4VY_BEARER_AUTH"),
) as g_client:

res = g_client.account_updater.jobs.create(payment_method_ids=[
Expand Down Expand Up @@ -721,7 +721,7 @@ from typing import Literal

with Gr4vy(
merchant_account_id="default",
bearer_auth=os.getenv("GR4VY_BEARER_AUTH", ""),
bearer_auth=os.getenv("GR4VY_BEARER_AUTH"),
) as g_client:
res = None
try:
Expand Down Expand Up @@ -817,7 +817,7 @@ with Gr4vy(
server="sandbox",
id="example",
merchant_account_id="default",
bearer_auth=os.getenv("GR4VY_BEARER_AUTH", ""),
bearer_auth=os.getenv("GR4VY_BEARER_AUTH"),
) as g_client:

res = g_client.account_updater.jobs.create(payment_method_ids=[
Expand All @@ -843,7 +843,7 @@ import os
with Gr4vy(
server_url="https://api.sandbox.example.gr4vy.app",
merchant_account_id="default",
bearer_auth=os.getenv("GR4VY_BEARER_AUTH", ""),
bearer_auth=os.getenv("GR4VY_BEARER_AUTH"),
) as g_client:

res = g_client.account_updater.jobs.create(payment_method_ids=[
Expand Down Expand Up @@ -968,19 +968,21 @@ def main():

with Gr4vy(
merchant_account_id="default",
bearer_auth=os.getenv("GR4VY_BEARER_AUTH", ""),
bearer_auth=os.getenv("GR4VY_BEARER_AUTH"),
) as g_client:
# Rest of application here...
pass


# Or when using async:
async def amain():

async with Gr4vy(
merchant_account_id="default",
bearer_auth=os.getenv("GR4VY_BEARER_AUTH", ""),
bearer_auth=os.getenv("GR4VY_BEARER_AUTH"),
) as g_client:
# Rest of application here...
pass
```
<!-- End Resource Management [resource-management] -->

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2738,4 +2738,14 @@ Based on:
### Generated
- [python v2.4.27] .
### Releases
- [PyPI v2.4.27] https://pypi.org/project/gr4vy/2.4.27 - .
- [PyPI v2.4.27] https://pypi.org/project/gr4vy/2.4.27 - .

## 2026-10-30 00:32:33
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.805.0 (2.954.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v2.4.28] .
### Releases
- [PyPI v2.4.28] https://pypi.org/project/gr4vy/2.4.28 - .
4 changes: 2 additions & 2 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import os

with Gr4vy(
merchant_account_id="default",
bearer_auth=os.getenv("GR4VY_BEARER_AUTH", ""),
bearer_auth=os.getenv("GR4VY_BEARER_AUTH"),
) as g_client:

res = g_client.account_updater.jobs.create(payment_method_ids=[
Expand Down Expand Up @@ -35,7 +35,7 @@ async def main():

async with Gr4vy(
merchant_account_id="default",
bearer_auth=os.getenv("GR4VY_BEARER_AUTH", ""),
bearer_auth=os.getenv("GR4VY_BEARER_AUTH"),
) as g_client:

res = await g_client.account_updater.jobs.create_async(payment_method_ids=[
Expand Down
Loading
Loading