Skip to content

Commit 8c828e3

Browse files
committed
Add doc to validate_url method
1 parent a1e1f8b commit 8c828e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/onelogin/saml2/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ def validate_url(url, allow_single_label_domain=False):
5656
Auxiliary method to validate an urllib
5757
:param url: An url to be validated
5858
:type url: string
59+
:param allow_single_label_domain: In order to allow or not single label domain
60+
:type url: bool
5961
:returns: True if the url is valid
6062
:rtype: bool
6163
"""

0 commit comments

Comments
 (0)