Skip to content

Commit 1275e27

Browse files
committed
add docstring for helper method
1 parent d04e17c commit 1275e27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ def me():
218218
)
219219

220220
def get_redirect_uri(request):
221+
"""Returns OAuth redirect URI."""
221222
parsed_url = urlparse(request.url)
222223
if parsed_url.hostname == 'localhost':
223224
return str.format('http://{0}:{1}/submit', parsed_url.hostname, parsed_url.port)

0 commit comments

Comments
 (0)