clerk-sdk 0.4.16__py3-none-any.whl → 0.4.17__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.
clerk/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  from .client import Clerk
2
2
 
3
3
 
4
- __version__ = "0.4.16"
4
+ __version__ = "0.4.17"
clerk/client.py CHANGED
@@ -81,6 +81,11 @@ class ClerkDocument(BaseClerk):
81
81
  )
82
82
  return Document(**res.data[0])
83
83
 
84
+ def reprocess_document(self, document_id: str) -> Document:
85
+ endpoint = f"/document/{document_id}/reprocess"
86
+ res = self.put_request(endpoint=endpoint)
87
+ return Document(**res.data[0])
88
+
84
89
  def cancel_document_run(self, document_id: str) -> Document:
85
90
  endpoint = f"/document/{document_id}/cancel"
86
91
  res = self.post_request(endpoint=endpoint)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: clerk-sdk
3
- Version: 0.4.16
3
+ Version: 0.4.17
4
4
  Summary: Library for interacting with Clerk
5
5
  Home-page: https://github.com/F-ONE-Group/clerk_pypi
6
6
  Author: F-ONE Group
@@ -1,6 +1,6 @@
1
- clerk/__init__.py,sha256=Wg-ijr3ORGg_AUwKn5_55Orq5wZkcW4xEKwGliI4PmI,51
1
+ clerk/__init__.py,sha256=HIOdGwQpSzmmyxHZ5CfX2V-wyyJ0whEHkNi9Xeubp9Q,51
2
2
  clerk/base.py,sha256=lbFTdpdDfsmYIQUFH93S1aw0-L6GNJwAcubW1tdMFX4,3967
3
- clerk/client.py,sha256=RdOvC23WK9ZtIXDOYaoSFk9debh3UTmstBXjAswAH6E,4981
3
+ clerk/client.py,sha256=m4d_DEpmTCPGP8gm3idREhcVzlvHDdvLrdbTc6J9AGk,5191
4
4
  clerk/decorator/__init__.py,sha256=yGGcS17VsZ7cZ-hVGCm3I3vGDJMiJIAqmDGzriIi0DI,65
5
5
  clerk/decorator/models.py,sha256=nFMdVSG3nJ4hrEXs9YbI_GgjHbVjhSWZokOCzUh-lqQ,521
6
6
  clerk/decorator/task_decorator.py,sha256=H8caRvNvvl-IRwyREP66gBGVM-SpQJ1W7oAFImO-6Jw,3769
@@ -45,8 +45,8 @@ clerk/models/ui_operator.py,sha256=mKTJUFZgv7PeEt5oys28HVZxHOJsofmRQOcRpqj0dbU,2
45
45
  clerk/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
46
  clerk/utils/logger.py,sha256=NrMIlJfVmRjjRw_N_Jngkl0qqv7btXUbg5wxcRmFEH4,3800
47
47
  clerk/utils/save_artifact.py,sha256=94aYkYNVGcSUaSWZmdjiY6Oc-3yCKb2XWCZ56IAXQqk,1158
48
- clerk_sdk-0.4.16.dist-info/licenses/LICENSE,sha256=GTVQl3vH6ht70wJXKC0yMT8CmXKHxv_YyO_utAgm7EA,1065
49
- clerk_sdk-0.4.16.dist-info/METADATA,sha256=ofSEyVDVWXdyuQCKmh2WwMeMHwGptTRtLnXnK1oFAns,9937
50
- clerk_sdk-0.4.16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
51
- clerk_sdk-0.4.16.dist-info/top_level.txt,sha256=99eQiU6d05_-f41tmSFanfI_SIJeAdh7u9m3LNSfcv4,6
52
- clerk_sdk-0.4.16.dist-info/RECORD,,
48
+ clerk_sdk-0.4.17.dist-info/licenses/LICENSE,sha256=GTVQl3vH6ht70wJXKC0yMT8CmXKHxv_YyO_utAgm7EA,1065
49
+ clerk_sdk-0.4.17.dist-info/METADATA,sha256=FSoY8qW9bKKJ9twc063AO22LBeUecr186NI1Zddxqhc,9937
50
+ clerk_sdk-0.4.17.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
51
+ clerk_sdk-0.4.17.dist-info/top_level.txt,sha256=99eQiU6d05_-f41tmSFanfI_SIJeAdh7u9m3LNSfcv4,6
52
+ clerk_sdk-0.4.17.dist-info/RECORD,,