Merge pull request #848 from jlowin/positional-arg-version

Update version to not be positional
This commit is contained in:
Jeremiah Lowin 2025-06-16 10:04:10 -04:00 committed by GitHub
commit eeedd175a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -110,8 +110,9 @@ class FastMCP(Generic[LifespanResultT]):
def __init__(
self,
name: str | None = None,
version: str | None = None,
instructions: str | None = None,
*,
version: str | None = None,
auth: OAuthProvider | None = None,
lifespan: (
Callable[