clarifai 11.3.0rc3__py3-none-any.whl → 11.4.0__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.
clarifai/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "11.3.0rc3"
1
+ __version__ = "11.4.0"
@@ -151,13 +151,8 @@ class ClarifaiAuthHelper:
151
151
  try:
152
152
  if st.query_params:
153
153
  auth.add_streamlit_query_params(st.query_params)
154
- elif "query_params" in st.session_state:
155
- auth.add_streamlit_query_params(st.session_state.query_params)
156
154
  else:
157
- st.error(
158
- "Either initialize the 'ClarifaiAuthHelper' in the main app.py file or add 'query_params' to the session state in the main app.py file."
159
- )
160
- st.stop()
155
+ auth.add_streamlit_query_params(st.session_state)
161
156
  except Exception as e:
162
157
  st.error(e)
163
158
  st.stop()
@@ -209,8 +204,7 @@ class ClarifaiAuthHelper:
209
204
  base: as 'base' in query_params.
210
205
 
211
206
  Args:
212
- query_params: the streamlit.experimental_get_query_params() response or an empty dict to fall
213
- back to using env vars.
207
+ query_params: the streamlit.query_params response or streamlit.session_state.
214
208
  """
215
209
 
216
210
  if query_params == "": # empty response from streamlit
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: clarifai
3
- Version: 11.3.0rc3
3
+ Version: 11.4.0
4
4
  Home-page: https://github.com/Clarifai/clarifai-python
5
5
  Author: Clarifai
6
6
  Author-email: support@clarifai.com
@@ -19,8 +19,8 @@ Classifier: Operating System :: OS Independent
19
19
  Requires-Python: >=3.8
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
- Requires-Dist: clarifai-grpc>=11.3.2
23
- Requires-Dist: clarifai-protocol>=0.0.22
22
+ Requires-Dist: clarifai-grpc>=11.3.4
23
+ Requires-Dist: clarifai-protocol>=0.0.23
24
24
  Requires-Dist: numpy>=1.22.0
25
25
  Requires-Dist: tqdm>=4.65.0
26
26
  Requires-Dist: rich>=13.4.2
@@ -1,4 +1,4 @@
1
- clarifai/__init__.py,sha256=MR8mFjyd96wlh85Uis731GEE-f7NJzQnu7qo3Jnapek,26
1
+ clarifai/__init__.py,sha256=BwRWbRM_tZXVkDcgICneVKgWcL8fV17tU6AnkSrIQbU,23
2
2
  clarifai/cli.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  clarifai/errors.py,sha256=GXa6D4v_L404J83jnRNFPH7s-1V9lk7w6Ws99f1g-AY,2772
4
4
  clarifai/versions.py,sha256=ecSuEB_nOL2XSoYHDw2n23XUbm_KPOGjudMXmQrGdS8,224
@@ -27,7 +27,7 @@ clarifai/client/search.py,sha256=Z-8PJJYAw5IlF0ac1M0GCz6TRQhouI8fwZryOJZkP1Q,156
27
27
  clarifai/client/user.py,sha256=Ey-sqW5dFE_3HLC-E4mHncKth-nQ1j_q6Tp80TMOfwI,18358
28
28
  clarifai/client/workflow.py,sha256=55fO5IYhER-kHL1FwP3IiWjWEZYNG3jpe7vBRIi_PJQ,13381
29
29
  clarifai/client/auth/__init__.py,sha256=7EwR0NrozkAUwpUnCsqXvE_p0wqx_SelXlSpKShKJK0,136
30
- clarifai/client/auth/helper.py,sha256=YGohIM0yWCqnEGX0jAEqKodvocqc8LRIqGcvv3ZUdlM,15540
30
+ clarifai/client/auth/helper.py,sha256=10Ow_eCgWMKURYW2aT46GLEax-GYoEUHwbcdt7tX6jg,15199
31
31
  clarifai/client/auth/register.py,sha256=pyY-Kg_64WpN6rXz1SyEzfqL14BS4yADtuYMxLJ4jx4,554
32
32
  clarifai/client/auth/stub.py,sha256=pU4FYeghooCBZmCRyNTdDfJaVe4WyeRBqE3xVwfmMTY,5388
33
33
  clarifai/constants/base.py,sha256=ogmFSZYoF0YhGjHg5aiOc3MLqPr_poKAls6xaD0_C3U,89
@@ -101,9 +101,9 @@ clarifai/workflows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
101
101
  clarifai/workflows/export.py,sha256=Oq3RVNKvv1iH46U6oIjXa-MXWJ4sTlXr_NSfwoxr3H4,2149
102
102
  clarifai/workflows/utils.py,sha256=ESL3INcouNcLKCh-nMpfXX-YbtCzX7tz7hT57_RGQ3M,2079
103
103
  clarifai/workflows/validate.py,sha256=UhmukyHkfxiMFrPPeBdUTiCOHQT5-shqivlBYEyKTlU,2931
104
- clarifai-11.3.0rc3.dist-info/licenses/LICENSE,sha256=mUqF_d12-qE2n41g7C5_sq-BMLOcj6CNN-jevr15YHU,555
105
- clarifai-11.3.0rc3.dist-info/METADATA,sha256=0OhSl0J0UHavpTL7maC2Fn0E__g5CywI28oA2d1IY68,22429
106
- clarifai-11.3.0rc3.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
107
- clarifai-11.3.0rc3.dist-info/entry_points.txt,sha256=X9FZ4Z-i_r2Ud1RpZ9sNIFYuu_-9fogzCMCRUD9hyX0,51
108
- clarifai-11.3.0rc3.dist-info/top_level.txt,sha256=wUMdCQGjkxaynZ6nZ9FAnvBUCgp5RJUVFSy2j-KYo0s,9
109
- clarifai-11.3.0rc3.dist-info/RECORD,,
104
+ clarifai-11.4.0.dist-info/licenses/LICENSE,sha256=mUqF_d12-qE2n41g7C5_sq-BMLOcj6CNN-jevr15YHU,555
105
+ clarifai-11.4.0.dist-info/METADATA,sha256=tmZl9rxAD8_VIIFZRq4eSE3CTb-S4VjEDOxd1KIomPQ,22426
106
+ clarifai-11.4.0.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
107
+ clarifai-11.4.0.dist-info/entry_points.txt,sha256=X9FZ4Z-i_r2Ud1RpZ9sNIFYuu_-9fogzCMCRUD9hyX0,51
108
+ clarifai-11.4.0.dist-info/top_level.txt,sha256=wUMdCQGjkxaynZ6nZ9FAnvBUCgp5RJUVFSy2j-KYo0s,9
109
+ clarifai-11.4.0.dist-info/RECORD,,