sweatstack 0.15.0__tar.gz → 0.17.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sweatstack-0.15.0 → sweatstack-0.17.0}/PKG-INFO +1 -1
- {sweatstack-0.15.0 → sweatstack-0.17.0}/pyproject.toml +1 -1
- {sweatstack-0.15.0 → sweatstack-0.17.0}/src/sweatstack/streamlit.py +2 -0
- {sweatstack-0.15.0 → sweatstack-0.17.0}/uv.lock +1 -1
- {sweatstack-0.15.0 → sweatstack-0.17.0}/.gitignore +0 -0
- {sweatstack-0.15.0 → sweatstack-0.17.0}/.python-version +0 -0
- {sweatstack-0.15.0 → sweatstack-0.17.0}/DEVELOPMENT.md +0 -0
- {sweatstack-0.15.0 → sweatstack-0.17.0}/Makefile +0 -0
- {sweatstack-0.15.0 → sweatstack-0.17.0}/README.md +0 -0
- {sweatstack-0.15.0 → sweatstack-0.17.0}/src/sweatstack/__init__.py +0 -0
- {sweatstack-0.15.0 → sweatstack-0.17.0}/src/sweatstack/cli.py +0 -0
- {sweatstack-0.15.0 → sweatstack-0.17.0}/src/sweatstack/client.py +0 -0
- {sweatstack-0.15.0 → sweatstack-0.17.0}/src/sweatstack/constants.py +0 -0
- {sweatstack-0.15.0 → sweatstack-0.17.0}/src/sweatstack/ipython_init.py +0 -0
- {sweatstack-0.15.0 → sweatstack-0.17.0}/src/sweatstack/jupyterlab_oauth2_startup.py +0 -0
- {sweatstack-0.15.0 → sweatstack-0.17.0}/src/sweatstack/openapi_schemas.py +0 -0
- {sweatstack-0.15.0 → sweatstack-0.17.0}/src/sweatstack/py.typed +0 -0
- {sweatstack-0.15.0 → sweatstack-0.17.0}/src/sweatstack/schemas.py +0 -0
- {sweatstack-0.15.0 → sweatstack-0.17.0}/src/sweatstack/sweatshell.py +0 -0
- {sweatstack-0.15.0 → sweatstack-0.17.0}/src/sweatstack/utils.py +0 -0
|
@@ -75,6 +75,7 @@ class StreamlitAuth:
|
|
|
75
75
|
"client_id": self.client_id,
|
|
76
76
|
"redirect_uri": self.redirect_uri,
|
|
77
77
|
"scope": "data:read",
|
|
78
|
+
"prompt": "none",
|
|
78
79
|
}
|
|
79
80
|
path = "/oauth/authorize"
|
|
80
81
|
authorization_url = urllib.parse.urljoin(DEFAULT_URL, path + "?" + urllib.parse.urlencode(params))
|
|
@@ -112,6 +113,7 @@ class StreamlitAuth:
|
|
|
112
113
|
|
|
113
114
|
def authenticate(self):
|
|
114
115
|
if self.is_authenticated():
|
|
116
|
+
st.toast("SweatStack authentication successful!", icon="✅")
|
|
115
117
|
self._show_sweatstack_logout()
|
|
116
118
|
elif code := st.query_params.get("code"):
|
|
117
119
|
self._exchange_token(code)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|