Rename ResourceReference to ResourceTemplateReference (#947)

This commit is contained in:
ihrpr 2025-06-13 18:25:36 +01:00 • committed by GitHub
commit f3cd20c920
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -431,7 +431,7 @@ class Server(Generic[LifespanResultT, RequestT]):
def decorator(
func: Callable[
[
types.PromptReference | types.ResourceReference,
types.PromptReference | types.ResourceTemplateReference,
types.CompletionArgument,
],
Awaitable[types.Completion | None],