original_docstring: 
          Retrives all the posts by author
          :param user:
          :return: Post object
          
docstring: Retrives all the posts by author
docstring_tokens: Retrives all the posts by author
code: def by_author(cls, user):
          """
          Retrives all the posts by author
          :param user:
          :return: Post object
          """
          posts = Post.gql("WHERE author = :1 ORDER BY created DESC", user.key())
          return posts
code_tokens: def by_author ( cls , user ) : posts = Post . gql ( "WHERE author = :1 ORDER BY created DESC" , user . key ( ) ) return posts
short_docstring: Retrives all the posts by author
short_docstring_tokens: Retrives all the posts by author
comment: """
          Retrives all the posts by author
          :param user:
          :return: Post object
          """