8000 chore: rephrasing `DatabaseClient.runshell()` exception (#546) · FirePing32/python-spanner-django@05a1640 · GitHub
[go: up one dir, main page]

Skip to content

Commit 05a1640

Browse files
authored
chore: rephrasing DatabaseClient.runshell() exception (googleapis#546)
1 parent 14e4cac commit 05a1640

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

django_spanner/client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
# https://developers.google.com/open-source/licenses/bsd
66

77
from django.db.backends.base.client import BaseDatabaseClient
8+
from google.cloud.spanner_dbapi.exceptions import NotSupportedError
89

910

1011
class DatabaseClient(BaseDatabaseClient):
11-
def runshell(self):
12-
raise NotImplementedError("dbshell is not implemented.")
12+
def runshell(self, parameters):
13+
raise NotSupportedError("This method is not supported.")

0 commit comments

Comments
 (0)
0