Exemple #1
0
    def num_following(self):
        from skylines.model.follower import Follower

        return Follower.query(source=self).count()
Exemple #2
0
 def num_following(self):
     from skylines.model.follower import Follower
     return Follower.query(source=self).count()
Exemple #3
0
    def num_followers(self):
        from skylines.model.follower import Follower

        return Follower.query(destination=self).count()
Exemple #4
0
 def num_followers(self):
     from skylines.model.follower import Follower
     return Follower.query(destination=self).count()
 def followers_attracted(self):
     return Follower.query().filter_by(destination=self.user).count()
 def users_followed(self):
     return Follower.query().filter_by(source=self.user).count()
Exemple #7
0
 def followers_attracted(self):
     return Follower.query().filter_by(destination=self.user).count()
Exemple #8
0
 def users_followed(self):
     return Follower.query().filter_by(source=self.user).count()