mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-24 06:24:18 +02:00
remove empty parens from prompt
This commit is contained in:
parent
5a0f57498f
commit
d64077b03b
6 changed files with 14 additions and 14 deletions
|
|
@ -5,7 +5,7 @@ description: Properly use instance methods, class methods, and static methods wi
|
|||
icon: at
|
||||
---
|
||||
|
||||
FastMCP's decorator system is designed to work with functions, but you may see unexpected behavior if you try to decorate an instance or class method. This guide explains the correct approach for using methods with all FastMCP decorators (`@tool`, `@resource()`, and `@prompt()`).
|
||||
FastMCP's decorator system is designed to work with functions, but you may see unexpected behavior if you try to decorate an instance or class method. This guide explains the correct approach for using methods with all FastMCP decorators (`@tool`, `@resource`, and `.prompt`).
|
||||
|
||||
## Why Are Methods Hard?
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue