Skip to content

Commit 3132587

Browse files
authored
docs: fix docstring for session.py (#387)
1 parent 32a5576 commit 3132587

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google/cloud/spanner_v1/session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def create(self):
110110
See
111111
https://cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.Spanner.CreateSession
112112
113-
:raises: :exc:`ValueError` if :attr:`session_id` is already set.
113+
:raises ValueError: if :attr:`session_id` is already set.
114114
"""
115115
if self._session_id is not None:
116116
raise ValueError("Session ID already set by back-end")
@@ -171,7 +171,7 @@ def delete(self):
171171
def ping(self):
172172
"""Ping the session to keep it alive by executing "SELECT 1".
173173
174-
:raises: ValueError: if :attr:`session_id` is not already set.
174+
:raises ValueError: if :attr:`session_id` is not already set.
175175
"""
176176
if self._session_id is None:
177177
raise ValueError("Session ID not set by back-end")

0 commit comments

Comments
 (0)