Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
d4664ae
codegen metadata
stainless-app[bot] Feb 18, 2026
690b7d8
codegen metadata
stainless-app[bot] Feb 18, 2026
ea5f781
codegen metadata
stainless-app[bot] Feb 18, 2026
ff0ee1f
codegen metadata
stainless-app[bot] Feb 18, 2026
2d02572
codegen metadata
stainless-app[bot] Feb 18, 2026
9b7868c
codegen metadata
stainless-app[bot] Feb 18, 2026
4e2a8dd
codegen metadata
stainless-app[bot] Feb 18, 2026
89533a2
codegen metadata
stainless-app[bot] Feb 18, 2026
90453ec
codegen metadata
stainless-app[bot] Feb 19, 2026
3423ae3
codegen metadata
stainless-app[bot] Feb 19, 2026
f02d194
codegen metadata
stainless-app[bot] Feb 19, 2026
612b33d
codegen metadata
stainless-app[bot] Feb 19, 2026
8980ad2
codegen metadata
stainless-app[bot] Feb 19, 2026
08cac37
codegen metadata
stainless-app[bot] Feb 19, 2026
301cb8e
codegen metadata
stainless-app[bot] Feb 19, 2026
a32e90d
codegen metadata
stainless-app[bot] Feb 19, 2026
233f9c2
codegen metadata
stainless-app[bot] Feb 19, 2026
72668a5
codegen metadata
stainless-app[bot] Feb 19, 2026
eed8333
codegen metadata
stainless-app[bot] Feb 19, 2026
facae0f
codegen metadata
stainless-app[bot] Feb 19, 2026
39e036f
codegen metadata
stainless-app[bot] Feb 19, 2026
a55c8c7
codegen metadata
stainless-app[bot] Feb 19, 2026
5483d78
codegen metadata
stainless-app[bot] Feb 19, 2026
26d2493
codegen metadata
stainless-app[bot] Feb 19, 2026
131ff36
codegen metadata
stainless-app[bot] Feb 19, 2026
fdf86cd
codegen metadata
stainless-app[bot] Feb 19, 2026
84c62c5
codegen metadata
stainless-app[bot] Feb 19, 2026
10a3e96
codegen metadata
stainless-app[bot] Feb 20, 2026
9df776e
codegen metadata
stainless-app[bot] Feb 20, 2026
b85da4d
codegen metadata
stainless-app[bot] Feb 20, 2026
cdf676e
codegen metadata
stainless-app[bot] Feb 20, 2026
190dde8
codegen metadata
stainless-app[bot] Feb 20, 2026
d8b991d
codegen metadata
stainless-app[bot] Feb 20, 2026
fcd6223
codegen metadata
stainless-app[bot] Feb 20, 2026
7d2edd2
codegen metadata
stainless-app[bot] Feb 20, 2026
1f6f33e
codegen metadata
stainless-app[bot] Feb 20, 2026
9cde896
codegen metadata
stainless-app[bot] Feb 20, 2026
ed4cb17
codegen metadata
stainless-app[bot] Feb 20, 2026
85ca4e7
codegen metadata
stainless-app[bot] Feb 20, 2026
15580b9
codegen metadata
stainless-app[bot] Feb 20, 2026
7010159
chore(internal): remove mock server code
stainless-app[bot] Feb 20, 2026
bb7e58f
chore: update mock server docs
stainless-app[bot] Feb 20, 2026
2b64974
codegen metadata
stainless-app[bot] Feb 20, 2026
793969d
codegen metadata
stainless-app[bot] Feb 20, 2026
f35ba7e
codegen metadata
stainless-app[bot] Feb 20, 2026
fc1667a
codegen metadata
stainless-app[bot] Feb 20, 2026
d167d32
codegen metadata
stainless-app[bot] Feb 20, 2026
794fce5
codegen metadata
stainless-app[bot] Feb 20, 2026
1605b2b
codegen metadata
stainless-app[bot] Feb 20, 2026
17faef9
codegen metadata
stainless-app[bot] Feb 21, 2026
9d9e7b2
codegen metadata
stainless-app[bot] Feb 21, 2026
33d119e
codegen metadata
stainless-app[bot] Feb 21, 2026
48d1511
codegen metadata
stainless-app[bot] Feb 21, 2026
524ed3b
codegen metadata
stainless-app[bot] Feb 21, 2026
1324816
codegen metadata
stainless-app[bot] Feb 21, 2026
78c61c8
codegen metadata
stainless-app[bot] Feb 21, 2026
57e400e
codegen metadata
stainless-app[bot] Feb 21, 2026
5995891
codegen metadata
stainless-app[bot] Feb 21, 2026
004a68b
codegen metadata
stainless-app[bot] Feb 21, 2026
dcad8c3
codegen metadata
stainless-app[bot] Feb 21, 2026
7afe283
codegen metadata
stainless-app[bot] Feb 21, 2026
51e2087
codegen metadata
stainless-app[bot] Feb 21, 2026
547a19b
codegen metadata
stainless-app[bot] Feb 21, 2026
9b02148
release: 0.8.1
stainless-app[bot] Feb 21, 2026
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.8.0"
".": "0.8.1"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 44
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent%2Fsent-dm-433bfd8c688a6b6d2d4f964bb59121d692798f4e2bb6cb47f6110c4f0e1f638d.yml
openapi_spec_hash: 5378295d401c8c1152c1946cc7dbd69f
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent%2Fsent-dm-1a9cb4c4bc5cc6c44687037c2a35221a37417d4a56484f8e339da2114c7fb0eb.yml
openapi_spec_hash: 1bcacc897a4c97796d61a5bb1592beff
config_hash: 43a0daa5b05d44a1620e3da0ea6f4fdc
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.8.1 (2026-02-21)

Full Changelog: [v0.8.0...v0.8.1](https://github.com/sentdm/sent-dm-python/compare/v0.8.0...v0.8.1)

### Chores

* **internal:** remove mock server code ([7010159](https://github.com/sentdm/sent-dm-python/commit/70101591e8a05615023b762cdf7a6d9cceb97c05))
* update mock server docs ([bb7e58f](https://github.com/sentdm/sent-dm-python/commit/bb7e58f1dc41d23f774dcc62b026f7bea07219c4))

## 0.8.0 (2026-02-18)

Full Changelog: [v0.7.0...v0.8.0](https://github.com/sentdm/sent-dm-python/compare/v0.7.0...v0.8.0)
Expand Down
7 changes: 0 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,6 @@ $ pip install ./path-to-wheel-file.whl

## Running tests

Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.

```sh
# you will need npm installed
$ npx prism mock path/to/your/openapi.yml
```

```sh
$ ./scripts/test
```
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 = "sentdm"
version = "0.8.0"
version = "0.8.1"
description = "The official Python library for the sent-dm API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
41 changes: 0 additions & 41 deletions scripts/mock

This file was deleted.

46 changes: 0 additions & 46 deletions scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -4,53 +4,7 @@ set -e

cd "$(dirname "$0")/.."

RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[0;33m'
NC='\033[0m' # No Color

function prism_is_running() {
curl --silent "http://localhost:4010" >/dev/null 2>&1
}

kill_server_on_port() {
pids=$(lsof -t -i tcp:"$1" || echo "")
if [ "$pids" != "" ]; then
kill "$pids"
echo "Stopped $pids."
fi
}

function is_overriding_api_base_url() {
[ -n "$TEST_API_BASE_URL" ]
}

if ! is_overriding_api_base_url && ! prism_is_running ; then
# When we exit this script, make sure to kill the background mock server process
trap 'kill_server_on_port 4010' EXIT

# Start the dev server
./scripts/mock --daemon
fi

if is_overriding_api_base_url ; then
echo -e "${GREEN}✔ Running tests against ${TEST_API_BASE_URL}${NC}"
echo
elif ! prism_is_running ; then
echo -e "${RED}ERROR:${NC} The test suite will not run without a mock Prism server"
echo -e "running against your OpenAPI spec."
echo
echo -e "To run the server, pass in the path or url of your OpenAPI"
echo -e "spec to the prism command:"
echo
echo -e " \$ ${YELLOW}npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock path/to/your.openapi.yml${NC}"
echo

exit 1
else
echo -e "${GREEN}✔ Mock prism server is running with your OpenAPI spec${NC}"
echo
fi

export DEFER_PYDANTIC_BUILD=false

Expand Down
2 changes: 1 addition & 1 deletion src/sent_dm/_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__ = "sent_dm"
__version__ = "0.8.0" # x-release-please-version
__version__ = "0.8.1" # x-release-please-version
Loading