Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

Commit 05a1640

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

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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)