code: def get_posts(self, num=None, tag=None, private=False):
  		
  		posts = self.posts
  
  		if not private:
  			posts = [post for post in posts if post.public]
  
  		if tag:
  			posts = [post for post in posts if tag in post.tags]
  
  		if num:
  			return posts[:num]
  		return posts
docs: Get all the posts added to the blog.
  
  		Args:
  		  num (int): Optional. If provided, only return N posts (sorted by date,
  		    most recent first).
  		  tag (Tag): Optional. If provided, only return posts that have a
  		    specific tag.
  		  private (bool): By default (if False), private posts are not included.
  		    If set to True, private posts will also be included.