clerk-sdk 0.3.1__tar.gz → 0.3.2__tar.gz

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.
Files changed (63) hide show
  1. {clerk_sdk-0.3.1/clerk_sdk.egg-info → clerk_sdk-0.3.2}/PKG-INFO +1 -1
  2. clerk_sdk-0.3.2/clerk/exceptions/exceptions.py +40 -0
  3. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2/clerk_sdk.egg-info}/PKG-INFO +1 -1
  4. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/setup.py +1 -1
  5. clerk_sdk-0.3.1/clerk/exceptions/exceptions.py +0 -13
  6. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/LICENSE +0 -0
  7. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/MANIFEST.in +0 -0
  8. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/README.md +0 -0
  9. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/__init__.py +0 -0
  10. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/base.py +0 -0
  11. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/client.py +0 -0
  12. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/decorator/__init__.py +0 -0
  13. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/decorator/models.py +0 -0
  14. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/decorator/task_decorator.py +0 -0
  15. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/exceptions/__init__.py +0 -0
  16. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/exceptions/remote_device.py +0 -0
  17. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/__init__.py +0 -0
  18. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/action_model/__init__.py +0 -0
  19. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/action_model/model.py +0 -0
  20. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/action_model/utils.py +0 -0
  21. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/client.py +0 -0
  22. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/client_actor/__init__.py +0 -0
  23. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/client_actor/client_actor.py +0 -0
  24. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/client_actor/exception.py +0 -0
  25. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/client_actor/model.py +0 -0
  26. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/decorators/__init__.py +0 -0
  27. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/decorators/gui_automation.py +0 -0
  28. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/exceptions/__init__.py +0 -0
  29. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/exceptions/agent_manager.py +0 -0
  30. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/exceptions/modality/__init__.py +0 -0
  31. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/exceptions/modality/exc.py +0 -0
  32. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/exceptions/websocket.py +0 -0
  33. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/requirements.txt +0 -0
  34. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/ui_actions/__init__.py +0 -0
  35. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/ui_actions/actions.py +0 -0
  36. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/ui_actions/base.py +0 -0
  37. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/ui_actions/support.py +0 -0
  38. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/ui_state_inspector/__init__.py +0 -0
  39. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/ui_state_inspector/gui_vision.py +0 -0
  40. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/ui_state_inspector/models.py +0 -0
  41. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/ui_state_machine/__init__.py +0 -0
  42. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/ui_state_machine/ai_recovery.py +0 -0
  43. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/ui_state_machine/decorators.py +0 -0
  44. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/ui_state_machine/exceptions.py +0 -0
  45. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/ui_state_machine/models.py +0 -0
  46. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/gui_automation/ui_state_machine/state_machine.py +0 -0
  47. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/models/__init__.py +0 -0
  48. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/models/document.py +0 -0
  49. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/models/document_statuses.py +0 -0
  50. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/models/file.py +0 -0
  51. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/models/remote_device.py +0 -0
  52. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/models/response_model.py +0 -0
  53. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/models/ui_operator.py +0 -0
  54. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/utils/__init__.py +0 -0
  55. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/utils/logger.py +0 -0
  56. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk/utils/save_artifact.py +0 -0
  57. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk_sdk.egg-info/SOURCES.txt +0 -0
  58. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk_sdk.egg-info/dependency_links.txt +0 -0
  59. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk_sdk.egg-info/requires.txt +0 -0
  60. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/clerk_sdk.egg-info/top_level.txt +0 -0
  61. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/pyproject.toml +0 -0
  62. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/requirements.txt +0 -0
  63. {clerk_sdk-0.3.1 → clerk_sdk-0.3.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: clerk-sdk
3
- Version: 0.3.1
3
+ Version: 0.3.2
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
@@ -0,0 +1,40 @@
1
+ from typing import Optional
2
+
3
+
4
+ class AppBaseException(Exception):
5
+ def __init__(
6
+ self,
7
+ *args,
8
+ type_: Optional[str] = None,
9
+ message: Optional[str] = None,
10
+ traceback: Optional[str] = None,
11
+ ):
12
+ # If called with positional args (e.g., during unpickling or raise("msg")),
13
+ # treat args[0] as the message.
14
+ if args and message is None:
15
+ message = args[0]
16
+
17
+ # Always call base Exception with just the message so .args == (message,)
18
+ super().__init__(message)
19
+
20
+ # Store structured fields
21
+ self.type = type_ or self.__class__.__name__
22
+ self.message = message or ""
23
+ self.traceback = traceback
24
+
25
+ # (Optional) make pickling round-trip the extra fields explicitly
26
+ def __reduce__(self):
27
+ # Reconstruct with message-only (what Exception expects) and restore extras via state
28
+ return (
29
+ self.__class__,
30
+ (self.message,),
31
+ {"type": self.type, "traceback": self.traceback},
32
+ )
33
+
34
+ def __setstate__(self, state):
35
+ for k, v in state.items():
36
+ setattr(self, k, v)
37
+
38
+
39
+ class ApplicationException(AppBaseException):
40
+ pass
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: clerk-sdk
3
- Version: 0.3.1
3
+ Version: 0.3.2
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
@@ -13,7 +13,7 @@ gui_requirements = get_requirements("./clerk/gui_automation")
13
13
 
14
14
  setup(
15
15
  name="clerk-sdk",
16
- version="0.3.1",
16
+ version="0.3.2",
17
17
  description="Library for interacting with Clerk",
18
18
  long_description=open("README.md").read(),
19
19
  long_description_content_type="text/markdown",
@@ -1,13 +0,0 @@
1
- from typing import Optional
2
-
3
-
4
- class AppBaseException(Exception):
5
- def __init__(self, type_: str, message: str, traceback: Optional[str] = None):
6
- super().__init__(message)
7
- self.type = type_
8
- self.message = message
9
- self.traceback = traceback
10
-
11
-
12
- class ApplicationException(AppBaseException):
13
- pass
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes