simplex 1.2.20__py3-none-any.whl → 1.2.21__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.

Potentially problematic release.


This version of simplex might be problematic. Click here for more details.

simplex/simplex.py CHANGED
@@ -12,6 +12,8 @@ class Simplex:
12
12
  atexit.register(self.close_session)
13
13
 
14
14
  def close_session(self):
15
+ if not self.session_id:
16
+ return
15
17
  response = requests.post(
16
18
  f"{BASE_URL}/close-session",
17
19
  headers={
@@ -20,6 +22,7 @@ class Simplex:
20
22
  data={'session_id': self.session_id}
21
23
  )
22
24
  self.session_id = None
25
+ print(response.json())
23
26
  if response.json()["succeeded"]:
24
27
  return
25
28
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: simplex
3
- Version: 1.2.20
3
+ Version: 1.2.21
4
4
  Summary: Official Python SDK for Simplex API
5
5
  Home-page: https://simplex.sh
6
6
  Author: Simplex Labs, Inc.
@@ -0,0 +1,11 @@
1
+ simplex/__init__.py,sha256=1mbM4XUk0FNW161WOkM4ayC1s_QSsaBEls6PZ0iBScY,74
2
+ simplex/cli.py,sha256=qzhrD9vMOZUImjWG9rF7NIkEtugEW959esQDdscNKZk,2642
3
+ simplex/simplex.py,sha256=jgNH-Ya478mAGDiyrK5VtIcMiB5ZLSll1qNNbleZ9vc,12329
4
+ simplex/deploy/__init__.py,sha256=_JQ81F_Nu7hSAfMA691gzs6a4-8oZ-buJ9h3Au12BKw,96
5
+ simplex/deploy/push.py,sha256=hRAbtFZaECKnBljaOLQ5nzJ6hk7tZgc1c7QdgxKQFoY,6123
6
+ simplex-1.2.21.dist-info/LICENSE,sha256=Xh0SJjYZfNI71pCNMB40aKlBLLuOB0blx5xkTtufFNQ,1075
7
+ simplex-1.2.21.dist-info/METADATA,sha256=KOcjfffU1D8oPcFtqeFjxHNK6F0W6Jv2HrznaHELJIM,938
8
+ simplex-1.2.21.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
9
+ simplex-1.2.21.dist-info/entry_points.txt,sha256=3veL2w3c5vxb3dm8I_M8Fs-370n1ZnvD8uu1nSsL7z8,45
10
+ simplex-1.2.21.dist-info/top_level.txt,sha256=cbMH1bYpN0A3gP-ecibPRHasHoqB-01T_2BUFS8p0CE,8
11
+ simplex-1.2.21.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- simplex/__init__.py,sha256=1mbM4XUk0FNW161WOkM4ayC1s_QSsaBEls6PZ0iBScY,74
2
- simplex/cli.py,sha256=qzhrD9vMOZUImjWG9rF7NIkEtugEW959esQDdscNKZk,2642
3
- simplex/simplex.py,sha256=faCL-_n5LjnIEyVXcGXlxGjN8UADtFM46vwc0dTzhUo,12247
4
- simplex/deploy/__init__.py,sha256=_JQ81F_Nu7hSAfMA691gzs6a4-8oZ-buJ9h3Au12BKw,96
5
- simplex/deploy/push.py,sha256=hRAbtFZaECKnBljaOLQ5nzJ6hk7tZgc1c7QdgxKQFoY,6123
6
- simplex-1.2.20.dist-info/LICENSE,sha256=Xh0SJjYZfNI71pCNMB40aKlBLLuOB0blx5xkTtufFNQ,1075
7
- simplex-1.2.20.dist-info/METADATA,sha256=Kj_becbRdpvKX1q0ym3lpORhHaYC3PyVtie20mOjd5g,938
8
- simplex-1.2.20.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
9
- simplex-1.2.20.dist-info/entry_points.txt,sha256=3veL2w3c5vxb3dm8I_M8Fs-370n1ZnvD8uu1nSsL7z8,45
10
- simplex-1.2.20.dist-info/top_level.txt,sha256=cbMH1bYpN0A3gP-ecibPRHasHoqB-01T_2BUFS8p0CE,8
11
- simplex-1.2.20.dist-info/RECORD,,