original_docstring: Retrieve n active quest entries, ordered by primary key ID.
  
          n defaults to 5 if not specified.
  
          
docstring: Retrieve n active quest entries, ordered by primary key ID.
  n defaults to 5 if not specified.
docstring_tokens: Retrieve n active quest entries ordered by primary key ID . n defaults to 5 if not specified .
code: def list_active(cls, how_many=5, session=None):
          """Retrieve n active quest entries, ordered by primary key ID.
  
          n defaults to 5 if not specified.
  
          """
          if session is None:
              session = db.session
          return (
              session.query(cls.id, cls.title, cls.created).
              order_by('id').
              filter_by(status=True).
              limit(how_many).
              all()
          )
code_tokens: def list_active ( cls , how_many = 5 , session = None ) : if session is None : session = db . session return ( session . query ( cls . id , cls . title , cls . created ) . order_by ( 'id' ) . filter_by ( status = True ) . limit ( how_many ) . all ( ) )
short_docstring: Retrieve n active quest entries, ordered by primary key ID.
short_docstring_tokens: Retrieve n active quest entries ordered by primary key ID .
comment: """Retrieve n active quest entries, ordered by primary key ID.
  
          n defaults to 5 if not specified.
  
          """