original_docstring: Retrieve n inactive quest entries, ordered by completed date.
  
          n defaults to 5 if not specified.
  
          
docstring: Retrieve n inactive quest entries, ordered by completed date.
  n defaults to 5 if not specified.
docstring_tokens: Retrieve n inactive quest entries ordered by completed date . n defaults to 5 if not specified .
code: def list_inactive(cls, session=None):
          """Retrieve n inactive quest entries, ordered by completed date.
  
          n defaults to 5 if not specified.
  
          """
          if session is None:
              session = db.session
          return (
              session.query(cls.id, cls.title, cls.completed_date).
              order_by('completed_date').
              filter_by(status=False).
              all()
          )
code_tokens: def list_inactive ( cls , session = None ) : if session is None : session = db . session return ( session . query ( cls . id , cls . title , cls . completed_date ) . order_by ( 'completed_date' ) . filter_by ( status = False ) . all ( ) )
short_docstring: Retrieve n inactive quest entries, ordered by completed date.
short_docstring_tokens: Retrieve n inactive quest entries ordered by completed date .
comment: """Retrieve n inactive quest entries, ordered by completed date.
  
          n defaults to 5 if not specified.
  
          """