Skip to content

Commit 7b44961

Browse files
rwhoggparthea
andauthored
docs: Fix bad import path in migration guide (#827)
You need the `google.cloud` namespace prefix. Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent 29f5a85 commit 7b44961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/migrating.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ App Engine's legacy exceptions are no longer available, but `ndb` provides
197197
shims for most of them, which can be imported from the `ndb.exceptions`
198198
package, like this::
199199

200-
from ndb.exceptions import BadRequestError, BadArgumentError
200+
from google.cloud.ndb.exceptions import BadRequestError, BadArgumentError
201201

202202
Datastore API
203203
=============

0 commit comments

Comments
 (0)