You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by be...@apache.org on 2024/03/26 20:06:18 UTC
(superset) branch sip-85 updated (0d27d8c645 -> 2d68550ff4)
This is an automated email from the ASF dual-hosted git repository.
beto pushed a change to branch sip-85
in repository https://gitbox.apache.org/repos/asf/superset.git
from 0d27d8c645 Add KV lock for refreshing tokens
add 2d68550ff4 Make lock generic
No new revisions were added by this update.
Summary of changes:
superset/exceptions.py | 4 +-
superset/key_value/types.py | 2 +-
superset/utils/lock.py | 88 +++++++++++++++++++++++++++++++++
superset/utils/oauth2.py | 75 +++++-----------------------
tests/unit_tests/utils/lock_tests.py | 90 ++++++++++++++++++++++++++++++++++
tests/unit_tests/utils/oauth2_tests.py | 75 +---------------------------
6 files changed, 195 insertions(+), 139 deletions(-)
create mode 100644 superset/utils/lock.py
create mode 100644 tests/unit_tests/utils/lock_tests.py