-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
Inside sap_id_sso.py is the following code:
community.sap_launchpad/plugins/module_utils/sap_id_sso.py
Lines 200 to 203 in 59ffb67
| def _get_sdk_build_number(api_key): | |
| global GIGYA_SDK_BUILD_NUMBER | |
| if GIGYA_SDK_BUILD_NUMBER is not None: | |
| return GIGYA_SDK_BUILD_NUMBER |
This seems to imply caching, however GIGYA_SDK_BUILD_NUMBER is never assigned to and always remains None.
Is there a reason for this? The only argument in that function is the API key, but as of now, for all three invocations it is the same.
Considering the gigya.js is over 500 KB in size and the regex takes fairly long, caching would make sense.
Perhaps that was the plan all along, but assigning to the global was forgotten?
Metadata
Metadata
Assignees
Labels
No labels