Skip to content

Commit

Permalink
chore: rephrasing DatabaseClient.runshell() exception (#546)
Browse files Browse the repository at this point in the history
  • Loading branch information
mf2199 committed Nov 5, 2020
1 parent 14e4cac commit 05a1640
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions django_spanner/client.py
Expand Up @@ -5,8 +5,9 @@
# https://developers.google.com/open-source/licenses/bsd

from django.db.backends.base.client import BaseDatabaseClient
from google.cloud.spanner_dbapi.exceptions import NotSupportedError


class DatabaseClient(BaseDatabaseClient):
def runshell(self):
raise NotImplementedError("dbshell is not implemented.")
def runshell(self, parameters):
raise NotSupportedError("This method is not supported.")

0 comments on commit 05a1640

Please sign in to comment.