Skip to content

Commit 53810da

Browse files
committed
nit(examples): docstring run command + explicit UserWarning category
Pre-PR review nits: - Run:: example shows <your-token> placeholder instead of the dev default - warnings.warn gains category=UserWarning to match conventional style https://claude.ai/code/session_01Ay2SJvRpBg8EP9nG9DgQMy
1 parent 47386c4 commit 53810da

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

examples/hello_seller_with_webhooks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
Run::
99
10-
WEBHOOK_BEARER_TOKEN=dev-fixture-token uv run python examples/hello_seller_with_webhooks.py
10+
WEBHOOK_BEARER_TOKEN=<your-token> uv run python examples/hello_seller_with_webhooks.py
1111
1212
The server boots on http://localhost:3001/mcp. Any buyer that registers
1313
``push_notification_config.url`` on a ``create_media_buy`` request receives a
@@ -42,6 +42,7 @@
4242
warnings.warn(
4343
"WEBHOOK_BEARER_TOKEN is not set; using 'dev-fixture-token'. "
4444
"Set WEBHOOK_BEARER_TOKEN=<real-token> before connecting real buyers.",
45+
category=UserWarning,
4546
stacklevel=1,
4647
)
4748
token = "dev-fixture-token"

0 commit comments

Comments
 (0)