fix wrong annotation for query static function

Hello,

I am sending you a small fix in annotations for BaseModel class, I hope that you will accept it.