Commit graph python-sdk/tests/test_examples.py
Author SHA1 Message Date
Max
f2e63c979a
Promote the v2 README to README.md ahead of the first v2 beta (#3014) 2026-06-29 12:01:54 +01:00
Max
411a6d3980
Rebuild the docs around tested examples; shrink README.v2.md to a pitch (#2978) 2026-06-26 12:49:19 +02:00
Marcelo Trylesinski
0ee7f1b293
Split protocol types into a standalone mcp-types package (#2973) 2026-06-25 19:18:38 +02:00
Max
df81c06221
Pass a list to parametrize in test_docs_examples (pytest 9.1.0 compat) (#2890) 2026-06-16 23:15:39 +01:00
Max Isbey
7ba41dcfae
fix: make local coverage runs reliable (#2236) 2026-03-06 17:24:18 +00:00
Max Isbey
2137c8fbdb
fix: revert README to v1.x documentation on main (#1971)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2026-01-29 20:03:01 +00:00
Marcelo Trylesinski
65c614e48e
Rename FastMCP to MCPServer (#1951) 2026-01-25 14:45:52 +01:00
Max Isbey
a7ddfdae07
ci: add strict-no-cover to detect unnecessary coverage pragmas (#1897) 2026-01-23 21:00:20 +01:00
Marcelo Trylesinski
f0ab53e194
Add meta to Client methods (#1923) 2026-01-22 14:50:39 +01:00
Felix Weinberger
df039bf97c
Add ergonomic Client class for testing MCP servers (#1870) 2026-01-16 15:49:26 +00:00
Max Isbey
5d80f4efc8
refactor: move inline imports to module level (#1893) 2026-01-16 14:54:08 +00:00
Marcelo Trylesinski
e94b386a13
refactor: use snake case instead of camel case in types (#1894) 2026-01-16 15:51:27 +01:00
Max Isbey
89e9c43acf
Get baseline 100% clean coverage (#1553) 2025-11-11 14:09:32 +01:00
Brandon Shar
1200ba0082
Allow CallToolResult to be returned directly to support _meta field for OpenAI Apps (#1459)
Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com>
2025-10-21 18:52:08 +00:00
Marcelo Trylesinski
c7671e470c
Add pyright strict mode on the whole project (#1254) 2025-08-11 18:56:37 +01:00
Inna Harper
adf327164a
Embed code snippets for README from executable examples (#1055) 2025-07-04 17:25:54 +01:00
Marcelo Trylesinski
543961968c
Use 120 characters instead of 88 (#856) 2025-06-11 11:45:50 +02:00
Daniel Avdar
b8f7b027c3
Update CI configuration to support multiple OS environments (#708)
Signed-off-by: DanielAvdar <66269169+DanielAvdar@users.noreply.github.com>
2025-05-14 13:43:59 +01:00
Samuel Colvin
3775916c5c
lint docs examples (#286)
* lint docs examples

* format
2025-03-14 11:30:57 +00:00
David Soria Parra
44e1abb7f1
fix tests 2024-12-21 01:17:59 +00:00
David Soria Parra
0b09fa5944
fix type issues 2024-12-21 00:46:37 +00:00
David Soria Parra
a79f51f55f
style: Fix imports and line length formatting 2024-12-21 00:46:36 +00:00
David Soria Parra
15cd7df87f
refactor: Update FastMCP examples to use new import path
Update all FastMCP examples to use mcp.server.fastmcp instead of fastmcp.
Add tests to verify example servers work correctly.

Changes:
- Update import paths in all example files
- Create test_examples.py to verify functionality
- Fix test assertions to match actual response format
2024-12-21 00:41:39 +00:00