Jeremiah Lowin commited on
Commit
59c76e7
·
1 Parent(s): 256490d

Remove import

Browse files
Files changed (1) hide show
  1. src/fastmcp/server/server.py +2 -4
src/fastmcp/server/server.py CHANGED
@@ -1,7 +1,5 @@
1
  """FastMCP - A more ergonomic interface for MCP servers."""
2
 
3
- from __future__ import annotations as _annotations
4
-
5
  import inspect
6
  import json
7
  import re
@@ -61,8 +59,8 @@ logger = get_logger(__name__)
61
 
62
 
63
  def lifespan_wrapper(
64
- app: FastMCP,
65
- lifespan: Callable[[FastMCP], AbstractAsyncContextManager[LifespanResultT]],
66
  ) -> Callable[
67
  [MCPServer[LifespanResultT]], AbstractAsyncContextManager[LifespanResultT]
68
  ]:
 
1
  """FastMCP - A more ergonomic interface for MCP servers."""
2
 
 
 
3
  import inspect
4
  import json
5
  import re
 
59
 
60
 
61
  def lifespan_wrapper(
62
+ app: "FastMCP",
63
+ lifespan: Callable[["FastMCP"], AbstractAsyncContextManager[LifespanResultT]],
64
  ) -> Callable[
65
  [MCPServer[LifespanResultT]], AbstractAsyncContextManager[LifespanResultT]
66
  ]: