docs: def clean_pages_from_space(confluence, space_key, limit=500):
      """
      Remove all pages from trash for related space
      :param limit:
      :param confluence:
      :param space_key:
      :return:
      """
      flag = True
      while flag:
          values = confluence.get_all_pages_from_space_trash(space=space_key, start=0, limit=limit)
          if len(values) == 0:
              flag = False
              print("For space {} trash is empty".format(space_key))
          else:
              print("Found in space {} pages as trashed {}".format(space_key, len(values)))
              for value in values:
                  print("Removing page with title: " + value['title'])
                  confluence.remove_page_from_trash(value['id'])