Skip to content

Commit

Permalink
add version guard to new method
Browse files Browse the repository at this point in the history
  • Loading branch information
mconflitti-pbc committed Jan 15, 2025
1 parent 9ac1260 commit b221c9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/posit/connect/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b221c9f

Please sign in to comment.