Skip to content

Commit d12ef81

Browse files
authored
docs: fix typo in example code (#588)
"nbd" -> "ndb" Thanks
1 parent 3945ca9 commit d12ef81

File tree

1 file changed

+1
-1
lines changed
  • packages/google-cloud-ndb/google/cloud/ndb

1 file changed

+1
-1
lines changed

packages/google-cloud-ndb/google/cloud/ndb/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ class WidgetProperty(ndb.Property):
941941
def _validate(self, value):
942942
# Lax user value to strict user value.
943943
if not isinstance(value, Widget):
944-
raise nbd.exceptions.BadValueError(value)
944+
raise ndb.exceptions.BadValueError(value)
945945
946946
def _to_base_type(self, value):
947947
# (Strict) user value to base value.

0 commit comments

Comments
 (0)