Skip to content

Commit ebbd200

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 817f631 commit ebbd200

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/onelogin/saml2/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __init__(self, request_data, old_settings=None, custom_base_path=None):
4242
:type request_data: dict
4343
4444
:param old_settings: Optional. SAML Toolkit Settings
45-
:type old_settings: dict|object
45+
:type old_settings: dict
4646
4747
:param custom_base_path: Optional. Path where are stored the settings file and the cert folder
4848
:type custom_base_path: string

src/onelogin/saml2/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def __init__(self, settings=None, custom_base_path=None, sp_validation_only=Fals
7373
- Loads settings info from settings file or array/object provided
7474
7575
:param settings: SAML Toolkit Settings
76-
:type settings: dict|object
76+
:type settings: dict
7777
7878
:param custom_base_path: Path where are stored the settings file and the cert folder
7979
:type custom_base_path: string

0 commit comments

Comments
 (0)