title: why i am getting 'InstrumentedList' object has no attribute 'paginate' filter_by in Flask?
body: <p>I want to paginate the subscribed_users for the client but i am getting an error that says :</p>
  
  <pre><code>cl = Client.query.filter_by(family='John').first()
  cl.subscribed_users.paginate()
  </code></pre>
  
  <p><code>AttributeError: 'InstrumentedList' object has no attribute 'paginate'</code></p>
  
  <p>Here is my <strong>models.py</strong></p>
  
  <pre><code>subscribers = db.Table(
      'clients_subscribed',
      db.Column('client_id', db.Integer, db.ForeignKey('client.id', ondelete='CASCADE')),
      db.Column('user_id', db.Integer, db.ForeignKey('user.id', ondelete='CASCADE'))
  )
  
  class Client(db.Model):
      subscribed_users = db.relationship(
          'User',
          secondary=subscribers,
          backref=db.backref('user', passive_deletes=True, lazy='dynamic')
      )
  </code></pre>