clarifai 11.2.3rc2__py3-none-any.whl → 11.2.3rc3__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.2.3rc2"
1
+ __version__ = "11.2.3rc3"
@@ -392,9 +392,9 @@ class ModelClass(ABC):
392
392
  proto = resources_pb2.Output()
393
393
  serialize({'return': output}, variables_signature, proto.data, is_output=True)
394
394
  proto.status.code = status_code_pb2.SUCCESS
395
- if self._prompt_tokens is not None:
395
+ if hasattr(self, "_prompt_tokens") and self._prompt_tokens is not None:
396
396
  proto.prompt_tokens = self._prompt_tokens
397
- if self._completion_tokens is not None:
397
+ if hasattr(self, "_completion_tokens") and self._completion_tokens is not None:
398
398
  proto.completion_tokens = self._completion_tokens
399
399
  self._prompt_tokens = None
400
400
  self._completion_tokens = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: clarifai
3
- Version: 11.2.3rc2
3
+ Version: 11.2.3rc3
4
4
  Summary: Clarifai Python SDK
5
5
  Home-page: https://github.com/Clarifai/clarifai-python
6
6
  Author: Clarifai
@@ -1,4 +1,4 @@
1
- clarifai/__init__.py,sha256=u3vxNv5x8n7e4IQJTXbt2A8DDqKGO8g1fw8lgogFHc4,26
1
+ clarifai/__init__.py,sha256=2zBVkS5dR4EMffWHJr4_I4tyosXNQb0xw_nK3IvbK9k,26
2
2
  clarifai/cli.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  clarifai/errors.py,sha256=RwzTajwds51wLD0MVlMC5kcpBnzRpreDLlazPSBZxrg,2605
4
4
  clarifai/versions.py,sha256=jctnczzfGk_S3EnVqb2FjRKfSREkNmvNEwAAa_VoKiQ,222
@@ -139,7 +139,7 @@ clarifai/runners/dockerfile_template/Dockerfile.template,sha256=5cjv7U8PmWa3DB_5
139
139
  clarifai/runners/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
140
140
  clarifai/runners/models/base_typed_model.py,sha256=0QCWxch8CcyJSKvE1D4PILd2RSnQZHTmx4DXlQQ6dpo,7856
141
141
  clarifai/runners/models/model_builder.py,sha256=vJXYrxBwuayanMquAPwFOv9z7U5EQ2aIdppl8DfTGgQ,36900
142
- clarifai/runners/models/model_class.py,sha256=KeLc1wu_1HytYNN7H_NExK6uxkPtDn7ok8PG9tyRY1E,18650
142
+ clarifai/runners/models/model_class.py,sha256=LO0CRs_xUoBr2Av1u3vVJ01doVS8VKwa_LRjz9Dgq2M,18726
143
143
  clarifai/runners/models/model_class_refract.py,sha256=HxuozxSW7ag5yWCPxjNwgLArQ6dORhyGXlnpPaZz2-c,3211
144
144
  clarifai/runners/models/model_run_locally.py,sha256=m5uLlXpWVGuQIJv-XBt-sHGx1gD8w6d77f9b85DOZqs,18170
145
145
  clarifai/runners/models/model_runner.py,sha256=T4Qn_x0vky7XdeS54bvipzEmKZMra1tQdAu_u01yyjc,6503
@@ -230,9 +230,9 @@ clarifai/workflows/__pycache__/__init__.cpython-39.pyc,sha256=9nA--jULSW7OFrYOcs
230
230
  clarifai/workflows/__pycache__/export.cpython-310.pyc,sha256=phEGwi2gAojCUhRTqjZVeTDn7Gk6LCVBeSTjAj4m9iY,2418
231
231
  clarifai/workflows/__pycache__/utils.cpython-310.pyc,sha256=M9_KTM7GOOS5SPrWwAzqHDqyGvgKi3xuSGvyw6MNf-I,1925
232
232
  clarifai/workflows/__pycache__/validate.cpython-310.pyc,sha256=c18Jgp_-CAm8RD_tmUpDCPoqZeexaoWELG0yBzb9rjw,2149
233
- clarifai-11.2.3rc2.dist-info/LICENSE,sha256=mUqF_d12-qE2n41g7C5_sq-BMLOcj6CNN-jevr15YHU,555
234
- clarifai-11.2.3rc2.dist-info/METADATA,sha256=EJ8NqP5z2s4x00pD3wY63oG1GanwS_MAwNYI8JRl9oA,22453
235
- clarifai-11.2.3rc2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
236
- clarifai-11.2.3rc2.dist-info/entry_points.txt,sha256=X9FZ4Z-i_r2Ud1RpZ9sNIFYuu_-9fogzCMCRUD9hyX0,51
237
- clarifai-11.2.3rc2.dist-info/top_level.txt,sha256=wUMdCQGjkxaynZ6nZ9FAnvBUCgp5RJUVFSy2j-KYo0s,9
238
- clarifai-11.2.3rc2.dist-info/RECORD,,
233
+ clarifai-11.2.3rc3.dist-info/LICENSE,sha256=mUqF_d12-qE2n41g7C5_sq-BMLOcj6CNN-jevr15YHU,555
234
+ clarifai-11.2.3rc3.dist-info/METADATA,sha256=jLjz9-an2BjoqoHh-kN120yOw0_jDCrPPPDnVgEjn6U,22453
235
+ clarifai-11.2.3rc3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
236
+ clarifai-11.2.3rc3.dist-info/entry_points.txt,sha256=X9FZ4Z-i_r2Ud1RpZ9sNIFYuu_-9fogzCMCRUD9hyX0,51
237
+ clarifai-11.2.3rc3.dist-info/top_level.txt,sha256=wUMdCQGjkxaynZ6nZ9FAnvBUCgp5RJUVFSy2j-KYo0s,9
238
+ clarifai-11.2.3rc3.dist-info/RECORD,,