Source code for velruse.utils
"""Utilities for the auth functionality"""
from .compat import urlencode
[docs]def flat_url(url, **kw):
"""Creates a URL with the query param encoded"""
return url + '?' + urlencode(kw)
"""Utilities for the auth functionality"""
from .compat import urlencode
[docs]def flat_url(url, **kw):
"""Creates a URL with the query param encoded"""
return url + '?' + urlencode(kw)