Пример #1
0
    def num_following(self):
        from skylines.model.follower import Follower

        return Follower.query(source=self).count()
Пример #2
0
 def num_following(self):
     from skylines.model.follower import Follower
     return Follower.query(source=self).count()
Пример #3
0
    def num_followers(self):
        from skylines.model.follower import Follower

        return Follower.query(destination=self).count()
Пример #4
0
 def num_followers(self):
     from skylines.model.follower import Follower
     return Follower.query(destination=self).count()
Пример #5
0
 def followers_attracted(self):
     return Follower.query().filter_by(destination=self.user).count()
Пример #6
0
 def users_followed(self):
     return Follower.query().filter_by(source=self.user).count()
Пример #7
0
 def followers_attracted(self):
     return Follower.query().filter_by(destination=self.user).count()
Пример #8
0
 def users_followed(self):
     return Follower.query().filter_by(source=self.user).count()