From fbe0baaf372b37f3fe22190eb8e6472c27ab2b30 Mon Sep 17 00:00:00 2001 From: Bob Hogg Date: Tue, 15 Nov 2022 19:57:41 +0000 Subject: [PATCH] docs: Fix bad import path in migration guide You need the `google.cloud` namespace prefix. --- docs/migrating.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/migrating.rst b/docs/migrating.rst index e99af4cf..2c7f7713 100644 --- a/docs/migrating.rst +++ b/docs/migrating.rst @@ -197,7 +197,7 @@ App Engine's legacy exceptions are no longer available, but `ndb` provides shims for most of them, which can be imported from the `ndb.exceptions` package, like this:: - from ndb.exceptions import BadRequestError, BadArgumentError + from google.cloud.ndb.exceptions import BadRequestError, BadArgumentError Datastore API =============