Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-beta.17"
".": "0.1.0-beta.18"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 108
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stigg/stigg-0e7a852999fb6517cef96afbdb99e46f08db292a85a5d209e5e5172792eb4a7c.yml
openapi_spec_hash: 53ace6b360ff3441f3e46e12ddcf34a6
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stigg/stigg-88f0d558bab37f46f8961eb9ef3a985ec282251991f28863d7b1738927900d6e.yml
openapi_spec_hash: 4aaa720e9246944b90c95405efd652aa
config_hash: 0ab0f5c37a96aad83824aad473011f38
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.0-beta.18 (2026-06-08)

Full Changelog: [v0.1.0-beta.17...v0.1.0-beta.18](https://github.com/stiggio/stigg-python/compare/v0.1.0-beta.17...v0.1.0-beta.18)

### Features

* **api:** add x_account_id/x_environment_id header parameters across resources ([fb71370](https://github.com/stiggio/stigg-python/commit/fb7137024b31e2182b378c826a6725507dc93a85))

## 0.1.0-beta.17 (2026-06-08)

Full Changelog: [v0.1.0-beta.16...v0.1.0-beta.17](https://github.com/stiggio/stigg-python/compare/v0.1.0-beta.16...v0.1.0-beta.17)
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ client = Stigg(
)

customer_response = client.v1.customers.retrieve(
"REPLACE_ME",
id="REPLACE_ME",
)
print(customer_response.data)
```
Expand All @@ -68,7 +68,7 @@ client = AsyncStigg(

async def main() -> None:
customer_response = await client.v1.customers.retrieve(
"REPLACE_ME",
id="REPLACE_ME",
)
print(customer_response.data)

Expand Down Expand Up @@ -104,7 +104,7 @@ async def main() -> None:
http_client=DefaultAioHttpClient(),
) as client:
customer_response = await client.v1.customers.retrieve(
"REPLACE_ME",
id="REPLACE_ME",
)
print(customer_response.data)

Expand Down Expand Up @@ -225,7 +225,7 @@ client = Stigg()

try:
client.v1.customers.retrieve(
"REPLACE_ME",
id="REPLACE_ME",
)
except stigg.APIConnectionError as e:
print("The server could not be reached")
Expand Down Expand Up @@ -270,7 +270,7 @@ client = Stigg(

# Or, configure per-request:
client.with_options(max_retries=5).v1.customers.retrieve(
"REPLACE_ME",
id="REPLACE_ME",
)
```

Expand All @@ -295,7 +295,7 @@ client = Stigg(

# Override per-request:
client.with_options(timeout=5.0).v1.customers.retrieve(
"REPLACE_ME",
id="REPLACE_ME",
)
```

Expand Down Expand Up @@ -338,7 +338,7 @@ from stigg import Stigg

client = Stigg()
response = client.v1.customers.with_raw_response.retrieve(
"REPLACE_ME",
id="REPLACE_ME",
)
print(response.headers.get('X-My-Header'))

Expand All @@ -358,7 +358,7 @@ To stream the response body, use `.with_streaming_response` instead, which requi

```python
with client.v1.customers.with_streaming_response.retrieve(
"REPLACE_ME",
id="REPLACE_ME",
) as response:
print(response.headers.get("X-My-Header"))

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "stigg"
version = "0.1.0-beta.17"
version = "0.1.0-beta.18"
description = "The official Python library for the stigg API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/stigg/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "stigg"
__version__ = "0.1.0-beta.17" # x-release-please-version
__version__ = "0.1.0-beta.18" # x-release-please-version
Loading