Channel.query.filter(Channel.is_default == True).all()
When I use above expression it works,but an pep8 advice is occuered.So I use below expression instead.
Channel.query.filter(Channel.is_default is True).all()
But when I run the code, no data returned.And there is no error or warning.