Skip to content

Commit ad53d41

Browse files
committed
Fix init method's docstring of OneLogin_Saml2_Auth and OneLogin_Saml2_Settings. Only dict is a possible value for settings, no an object
1 parent d08dd47 commit ad53d41

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/onelogin/saml2/auth.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
from urllib import quote_plus
1616

1717
import dm.xmlsec.binding as xmlsec
18+
import copy
1819

1920
from onelogin.saml2.settings import OneLogin_Saml2_Settings
2021
from onelogin.saml2.response import OneLogin_Saml2_Response
@@ -44,7 +45,7 @@ def __init__(self, request_data, old_settings=None, custom_base_path=None):
4445
:type request_data: dict
4546
4647
:param settings: Optional. SAML Toolkit Settings
47-
:type settings: dict|object
48+
:type settings: dict
4849
4950
:param custom_base_path: Optional. Path where are stored the settings file and the cert folder
5051
:type custom_base_path: string

src/onelogin/saml2/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def __init__(self, settings=None, custom_base_path=None, sp_validation_only=Fals
6565
- Loads settings info from settings file or array/object provided
6666
6767
:param settings: SAML Toolkit Settings
68-
:type settings: dict|object
68+
:type settings: dict
6969
7070
:param custom_base_path: Path where are stored the settings file and the cert folder
7171
:type custom_base_path: string

0 commit comments

Comments
 (0)