You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4804c40
Browse filesBrowse the repository at this point in the historyBrowse files
* ensure streams are always closed ([b4d4449](https://github.com/moderation-api/sdk-python/commit/b4d44494343f4925353071967649a414c05ae369))
28
+
29
+
30
+
### Chores
31
+
32
+
* configure new SDK language ([74c5185](https://github.com/moderation-api/sdk-python/commit/74c5185ae751945b7b24839e406f7c371c8d0b34))
33
+
***deps:** mypy 1.18.1 has a regression, pin to 1.17 ([bbf694f](https://github.com/moderation-api/sdk-python/commit/bbf694f626644c1349960516a152a46bd8af1489))
34
+
***docs:** use environment variables for authentication in code snippets ([166f1cf](https://github.com/moderation-api/sdk-python/commit/166f1cf82be98f8fe92607b3983144af07788da9))
Alternatively, you can build from source and install the wheel file:
@@ -120,7 +120,7 @@ the changes aren't made through the automated pipeline, you may want to make rel
120
120
121
121
### Publish with a GitHub workflow
122
122
123
-
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/stainless-sdks/moderation-api-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
123
+
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/moderation-api/sdk-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
@@ -290,9 +290,9 @@ content = response.parse() # get the object that `content.submit()` would have
290
290
print(content.recommendation)
291
291
```
292
292
293
-
These methods return an [`APIResponse`](https://github.com/stainless-sdks/moderation-api-python/tree/main/src/moderation_api/_response.py) object.
293
+
These methods return an [`APIResponse`](https://github.com/moderation-api/sdk-python/tree/main/src/moderation_api/_response.py) object.
294
294
295
-
The async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/moderation-api-python/tree/main/src/moderation_api/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
295
+
The async client returns an [`AsyncAPIResponse`](https://github.com/moderation-api/sdk-python/tree/main/src/moderation_api/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
296
296
297
297
#### `.with_streaming_response`
298
298
@@ -401,7 +401,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
401
401
402
402
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
403
403
404
-
We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/moderation-api-python/issues) with questions, bugs, or suggestions.
404
+
We are keen for your feedback; please open an [issue](https://www.github.com/moderation-api/sdk-python/issues) with questions, bugs, or suggestions.
0 commit comments