sweatstack 0.14.2__py3-none-any.whl → 0.14.3__py3-none-any.whl

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/streamlit.py CHANGED
@@ -60,9 +60,11 @@ class StreamlitAuth:
60
60
  "client_secret": self.client_secret,
61
61
  "code": code,
62
62
  }
63
+ auth = httpx.BasicAuth(username=self.client_id, password=self.client_secret)
63
64
  response = httpx.post(
64
65
  f"{DEFAULT_URL}/api/v1/oauth/token",
65
66
  data=token_data,
67
+ auth=auth,
66
68
  )
67
69
  try:
68
70
  response.raise_for_status()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sweatstack
3
- Version: 0.14.2
3
+ Version: 0.14.3
4
4
  Summary: The official Python client for SweatStack
5
5
  Author-email: Aart Goossens <aart@gssns.io>
6
6
  Requires-Python: >=3.12
@@ -7,10 +7,10 @@ sweatstack/jupyterlab_oauth2_startup.py,sha256=eZ6xi0Sa4hO4vUanimq0SqjduHtiywCUR
7
7
  sweatstack/openapi_schemas.py,sha256=vtYHa6A0kADFbd_jK1O7Kbn8YkbPfzaIwsRDDYjYeSA,13038
8
8
  sweatstack/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  sweatstack/schemas.py,sha256=CdkeV6IRmIuvxae7C5dz-hVlb6hkzEYfqKHHgVJprmY,90
10
- sweatstack/streamlit.py,sha256=UbcA1h_51AEBmQuR_VZ0s_HzXFadju_5Q6vAPEhgVoU,3295
10
+ sweatstack/streamlit.py,sha256=xmASRIB-TfqMc3je6Qkkr0D-L9lr9oNVUWcXUzgiMME,3403
11
11
  sweatstack/sweatshell.py,sha256=MYLNcWbOdceqKJ3S0Pe8dwHXEeYsGJNjQoYUXpMTftA,333
12
12
  sweatstack/utils.py,sha256=kQZi7W5BXYn4Exmykvhf8A91YHbsCMR37Mobunt3pNE,1743
13
- sweatstack-0.14.2.dist-info/METADATA,sha256=rh_bPbtQWOq87OYzY1PPhm0o0fsHRsp59nnZ5xN4IWs,2966
14
- sweatstack-0.14.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
- sweatstack-0.14.2.dist-info/entry_points.txt,sha256=kCzOUQI3dqbTpEYqtgYDeiKFaqaA7BMlV6D24BMzCFU,208
16
- sweatstack-0.14.2.dist-info/RECORD,,
13
+ sweatstack-0.14.3.dist-info/METADATA,sha256=UI1v17FhKY8UrrLiP8rri3clWr8wkBtNR-pOe3rcbrc,2966
14
+ sweatstack-0.14.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
+ sweatstack-0.14.3.dist-info/entry_points.txt,sha256=kCzOUQI3dqbTpEYqtgYDeiKFaqaA7BMlV6D24BMzCFU,208
16
+ sweatstack-0.14.3.dist-info/RECORD,,