def get_full_page_url(self, page_number, scheme=None):
args = dict(<EOL>request.view_args,<EOL>_external=True,<EOL>)<EOL>if scheme is not None:<EOL><INDENT>args['<STR_LIT>'] = scheme<EOL><DEDENT>if page_number != <NUM_LIT:1>:<EOL><INDENT>args['<STR_LIT>'] = page_number<EOL><DEDENT>return url_for(request.endpoint, **args)<EOL>
Get the full, external URL for this page, optinally with the passed in URL scheme