Skip to content

Commit 6957386

Browse files
committed
add None example to mapper example
1 parent 797008d commit 6957386

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

example_mapper.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ def main():
7878
except LWTException:
7979
print "precondition not met"
8080

81+
log.info("### setting individual column to NULL by updating it to None")
82+
nick.update(birth_year=None)
83+
8184
# showing validation
8285
try:
8386
FamilyMembers.create(id=simmons.id, surname='Tweed', name='Shannon', birth_year=1957, sex='f')

0 commit comments

Comments
 (0)