From b221c9f5e9c4f550be5e1b9529497c0bba3e6aac Mon Sep 17 00:00:00 2001 From: Matt Conflitti Date: Wed, 15 Jan 2025 10:40:10 -0500 Subject: [PATCH] add version guard to new method --- src/posit/connect/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/posit/connect/client.py b/src/posit/connect/client.py index f272932c..5e02f52f 100644 --- a/src/posit/connect/client.py +++ b/src/posit/connect/client.py @@ -173,6 +173,7 @@ def __init__(self, *args, **kwargs) -> None: self.session = session self._ctx = Context(self) + @requires("2025.01.0-dev") def with_user_session_token(self, token: str) -> Client: """Create a new Client scoped to the user specified in the user session token.