mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 21:44:18 +02:00
Decorators return functions instead of component objects (#2856)
This commit is contained in:
parent
766641a1a5
commit
1b723f302d
38 changed files with 2406 additions and 1606 deletions
|
|
@ -1,7 +1,8 @@
|
|||
import pytest
|
||||
from pydantic import AnyUrl, BaseModel
|
||||
|
||||
from fastmcp.resources.resource import FunctionResource, ResourceContent
|
||||
from fastmcp.resources.function_resource import FunctionResource
|
||||
from fastmcp.resources.resource import ResourceContent
|
||||
|
||||
|
||||
class TestFunctionResource:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue