Skip to content

Commit 4003edb

Browse files
chore: sync repo
1 parent 83fb40a commit 4003edb

17 files changed

Lines changed: 199 additions & 49 deletions

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
timeout-minutes: 10
2020
name: lint
2121
runs-on: ${{ github.repository == 'stainless-sdks/context.dev-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
22-
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
22+
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
2323
steps:
2424
- uses: actions/checkout@v6
2525

@@ -35,7 +35,7 @@ jobs:
3535
run: ./scripts/lint
3636

3737
build:
38-
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
38+
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
3939
timeout-minutes: 10
4040
name: build
4141
permissions:

‎.github/workflows/publish-pypi.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This workflow is triggered when a GitHub release is created.
22
# It can also be run manually to re-publish to PyPI in case it failed for some reason.
3-
# You can run this workflow by navigating to https://www.github.com/brand-dot-dev/context-python-sdk/actions/workflows/publish-pypi.yml
3+
# You can run this workflow by navigating to https://www.github.com/context-dot-dev/python-sdk/actions/workflows/publish-pypi.yml
44
name: Publish PyPI
55
on:
66
workflow_dispatch:

‎.github/workflows/release-doctor.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
release_doctor:
1010
name: release doctor
1111
runs-on: ubuntu-latest
12-
if: github.repository == 'brand-dot-dev/context-python-sdk' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
12+
if: github.repository == 'context-dot-dev/python-sdk' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1313

1414
steps:
1515
- uses: actions/checkout@v6

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.prism.log
2+
.stdy.log
23
_dev
34

45
__pycache__

‎.release-please-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.2.1"
2+
".": "0.3.0"
33
}

‎.stats.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 20
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-c2e94e0c758b1aaba120c2a4231842fff0a120acc471fe24c7a81221e13a0482.yml
3-
openapi_spec_hash: aabc231b46b1ca3375882f96c378c665
4-
config_hash: ab5135cc119f83ae2821f9445ed99d16
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-3a8af8deb24e840300df2b1a74edfb075287af9f38e6d343960ba75fce00ab68.yml
3+
openapi_spec_hash: acc99bb843c5c7d630bc2a80b1b97444
4+
config_hash: 23402de9dae83f5e9234b577722ab85c

‎CHANGELOG.md‎

Lines changed: 152 additions & 3 deletions
Large diffs are not rendered by default.

‎CONTRIBUTING.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ If you’d like to use the repository from source, you can either install from g
6262
To install via git:
6363

6464
```sh
65-
$ pip install git+ssh://git@github.com/brand-dot-dev/context-python-sdk.git
65+
$ pip install git+ssh://git@github.com/context-dot-dev/python-sdk.git
6666
```
6767

6868
Alternatively, you can build from source and install the wheel file:
@@ -113,7 +113,7 @@ the changes aren't made through the automated pipeline, you may want to make rel
113113

114114
### Publish with a GitHub workflow
115115

116-
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/brand-dot-dev/context-python-sdk/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
116+
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/context-dot-dev/python-sdk/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
117117

118118
### Publish manually
119119

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,9 @@ brand = response.parse() # get the object that `brand.retrieve()` would have re
283283
print(brand.brand)
284284
```
285285

286-
These methods return an [`APIResponse`](https://github.com/brand-dot-dev/context-python-sdk/tree/main/src/context/dev/_response.py) object.
286+
These methods return an [`APIResponse`](https://github.com/context-dot-dev/python-sdk/tree/main/src/context/dev/_response.py) object.
287287

288-
The async client returns an [`AsyncAPIResponse`](https://github.com/brand-dot-dev/context-python-sdk/tree/main/src/context/dev/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
288+
The async client returns an [`AsyncAPIResponse`](https://github.com/context-dot-dev/python-sdk/tree/main/src/context/dev/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
289289

290290
#### `.with_streaming_response`
291291

@@ -391,7 +391,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
391391

392392
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
393393

394-
We are keen for your feedback; please open an [issue](https://www.github.com/brand-dot-dev/context-python-sdk/issues) with questions, bugs, or suggestions.
394+
We are keen for your feedback; please open an [issue](https://www.github.com/context-dot-dev/python-sdk/issues) with questions, bugs, or suggestions.
395395

396396
### Determining the installed version
397397

‎pyproject.toml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "context.dev"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
description = "The official Python library for the context.dev API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"
@@ -37,8 +37,8 @@ classifiers = [
3737
]
3838

3939
[project.urls]
40-
Homepage = "https://github.com/brand-dot-dev/context-python-sdk"
41-
Repository = "https://github.com/brand-dot-dev/context-python-sdk"
40+
Homepage = "https://github.com/context-dot-dev/python-sdk"
41+
Repository = "https://github.com/context-dot-dev/python-sdk"
4242

4343
[project.optional-dependencies]
4444
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.9"]
@@ -112,7 +112,7 @@ path = "README.md"
112112
[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
113113
# replace relative links with absolute links
114114
pattern = '\[(.+?)\]\(((?!https?://)\S+?)\)'
115-
replacement = '[\1](https://github.com/brand-dot-dev/context-python-sdk/tree/main/\g<2>)'
115+
replacement = '[\1](https://github.com/context-dot-dev/python-sdk/tree/main/\g<2>)'
116116

117117
[tool.pytest.ini_options]
118118
testpaths = ["tests"]

0 commit comments

Comments
 (0)