synapse-sdk 1.0.0b9__py3-none-any.whl → 1.0.0b10__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 synapse-sdk might be problematic. Click here for more details.
- synapse_sdk/plugins/categories/pre_annotation/actions/to_task.py +3 -0
- {synapse_sdk-1.0.0b9.dist-info → synapse_sdk-1.0.0b10.dist-info}/METADATA +1 -1
- {synapse_sdk-1.0.0b9.dist-info → synapse_sdk-1.0.0b10.dist-info}/RECORD +7 -7
- {synapse_sdk-1.0.0b9.dist-info → synapse_sdk-1.0.0b10.dist-info}/WHEEL +0 -0
- {synapse_sdk-1.0.0b9.dist-info → synapse_sdk-1.0.0b10.dist-info}/entry_points.txt +0 -0
- {synapse_sdk-1.0.0b9.dist-info → synapse_sdk-1.0.0b10.dist-info}/licenses/LICENSE +0 -0
- {synapse_sdk-1.0.0b9.dist-info → synapse_sdk-1.0.0b10.dist-info}/top_level.txt +0 -0
|
@@ -862,6 +862,9 @@ class ToTaskAction(Action):
|
|
|
862
862
|
}
|
|
863
863
|
|
|
864
864
|
inference_data = client.run_plugin(pre_processor_code, inference_payload)
|
|
865
|
+
# Every inference api should return None if failed to inference.
|
|
866
|
+
if inference_data is None:
|
|
867
|
+
return {'success': False, 'error': 'Inference data is None'}
|
|
865
868
|
return {'success': True, 'data': inference_data}
|
|
866
869
|
except Exception as e:
|
|
867
870
|
return {'success': False, 'error': f'Failed to run inference: {str(e)}'}
|
|
@@ -141,7 +141,7 @@ synapse_sdk/plugins/categories/post_annotation/templates/plugin/post_annotation.
|
|
|
141
141
|
synapse_sdk/plugins/categories/pre_annotation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
142
142
|
synapse_sdk/plugins/categories/pre_annotation/actions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
143
143
|
synapse_sdk/plugins/categories/pre_annotation/actions/pre_annotation.py,sha256=6ib3RmnGrjpsQ0e_G-mRH1lfFunQ3gh2M831vuDn7HU,344
|
|
144
|
-
synapse_sdk/plugins/categories/pre_annotation/actions/to_task.py,sha256=
|
|
144
|
+
synapse_sdk/plugins/categories/pre_annotation/actions/to_task.py,sha256=trdlqnBlUSRrAZisnGw-aSxaiMZECSi05zuRyJxfbLQ,40516
|
|
145
145
|
synapse_sdk/plugins/categories/pre_annotation/templates/config.yaml,sha256=VREoCp9wsvZ8T2E1d_MEKlR8TC_herDJGVQtu3ezAYU,589
|
|
146
146
|
synapse_sdk/plugins/categories/pre_annotation/templates/plugin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
147
147
|
synapse_sdk/plugins/categories/pre_annotation/templates/plugin/pre_annotation.py,sha256=HBHxHuv2gMBzDB2alFfrzI_SZ1Ztk6mo7eFbR5GqHKw,106
|
|
@@ -211,9 +211,9 @@ synapse_sdk/utils/storage/providers/gcp.py,sha256=i2BQCu1Kej1If9SuNr2_lEyTcr5M_n
|
|
|
211
211
|
synapse_sdk/utils/storage/providers/http.py,sha256=2DhIulND47JOnS5ZY7MZUex7Su3peAPksGo1Wwg07L4,5828
|
|
212
212
|
synapse_sdk/utils/storage/providers/s3.py,sha256=ZmqekAvIgcQBdRU-QVJYv1Rlp6VHfXwtbtjTSphua94,2573
|
|
213
213
|
synapse_sdk/utils/storage/providers/sftp.py,sha256=_8s9hf0JXIO21gvm-JVS00FbLsbtvly4c-ETLRax68A,1426
|
|
214
|
-
synapse_sdk-1.0.
|
|
215
|
-
synapse_sdk-1.0.
|
|
216
|
-
synapse_sdk-1.0.
|
|
217
|
-
synapse_sdk-1.0.
|
|
218
|
-
synapse_sdk-1.0.
|
|
219
|
-
synapse_sdk-1.0.
|
|
214
|
+
synapse_sdk-1.0.0b10.dist-info/licenses/LICENSE,sha256=bKzmC5YAg4V1Fhl8OO_tqY8j62hgdncAkN7VrdjmrGk,1101
|
|
215
|
+
synapse_sdk-1.0.0b10.dist-info/METADATA,sha256=SbK-qGKAO8WGswV_JGf0qJVFBPfC_f6dx0I6o46MDlQ,3745
|
|
216
|
+
synapse_sdk-1.0.0b10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
217
|
+
synapse_sdk-1.0.0b10.dist-info/entry_points.txt,sha256=VNptJoGoNJI8yLXfBmhgUefMsmGI0m3-0YoMvrOgbxo,48
|
|
218
|
+
synapse_sdk-1.0.0b10.dist-info/top_level.txt,sha256=ytgJMRK1slVOKUpgcw3LEyHHP7S34J6n_gJzdkcSsw8,12
|
|
219
|
+
synapse_sdk-1.0.0b10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|