☰
Debian Codegraph
@
65.19.1-1
/
/
allauth
/
socialaccount
/
providers
/
amazon_cognito
/
utils.py
☽
☼
allauth/socialaccount/providers/amazon_cognito/utils.py
code
plain
raw
MIT
© 2010 - 2026 Raymond Penners and contributors
debian/copyright
1
from __future__ import annotations
2
3
4
def convert_to_python_bool_if_value_is_json_string_bool(s):
5
if s == "true":
6
return True
7
elif s == "false":
8
return False
9
10
return s