mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-28 02:10:38 +02:00
Remove 3.x-era compatibility shims (#4661)
* Remove 3.x-era compatibility shims * Require response_type in ctx.elicit() * Name the utilities path for the two non-re-exported auth helpers * Point sampling handler migration at its submodule
This commit is contained in:
parent
1550eea886
commit
ea7fb8cb2e
28 changed files with 150 additions and 285 deletions
|
|
@ -12,7 +12,6 @@ from fastmcp.server.providers.skills import (
|
|||
ClaudeSkillsProvider,
|
||||
SkillProvider,
|
||||
SkillsDirectoryProvider,
|
||||
SkillsProvider,
|
||||
)
|
||||
from fastmcp.server.providers.skills._common import parse_frontmatter
|
||||
from fastmcp.server.providers.skills.skill_provider import SkillFileResource
|
||||
|
|
@ -724,13 +723,6 @@ description: Second occurrence
|
|||
assert resources == []
|
||||
|
||||
|
||||
class TestSkillsProviderAlias:
|
||||
"""Test that SkillsProvider is a backwards-compatible alias."""
|
||||
|
||||
def test_skills_provider_is_alias(self):
|
||||
assert SkillsProvider is SkillsDirectoryProvider
|
||||
|
||||
|
||||
class TestClaudeSkillsProvider:
|
||||
def test_default_root_is_claude_skills_dir(self, tmp_path: Path, monkeypatch):
|
||||
# Mock Path.home() to return a temp path (use tmp_path for cross-platform compatibility)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue