Skip to content

0.69.3

Choose a tag to compare

@dantownsend dantownsend released this 01 Mar 12:48
· 490 commits to master since this release

The where clause now raises a ValueError if a boolean value is passed in by accident. This was possible in the following situation:

await Band.select().where(Band.has_drummer is None)

Piccolo can't override the is operator because Python doesn't allow it, so Band.has_drummer is None will always equal False. Thanks to @trondhindenes for reporting this issue.

We've also put a lot of effort into improving documentation throughout the project.