clerk-sdk 0.4.13__tar.gz → 0.4.14__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.
- {clerk_sdk-0.4.13/clerk_sdk.egg-info → clerk_sdk-0.4.14}/PKG-INFO +1 -1
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/__init__.py +1 -1
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/base.py +1 -1
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/client.py +5 -1
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14/clerk_sdk.egg-info}/PKG-INFO +1 -1
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/setup.py +1 -1
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/LICENSE +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/MANIFEST.in +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/README.md +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/client.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/decorator/__init__.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/decorator/models.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/decorator/task_decorator.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/exceptions/__init__.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/exceptions/exceptions.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/exceptions/remote_device.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/__init__.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/action_model/__init__.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/action_model/model.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/action_model/utils.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/client_actor/__init__.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/client_actor/client_actor.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/client_actor/exception.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/client_actor/model.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/decorators/__init__.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/decorators/gui_automation.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/exceptions/__init__.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/exceptions/agent_manager.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/exceptions/modality/__init__.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/exceptions/modality/exc.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/exceptions/websocket.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/requirements.txt +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/ui_actions/__init__.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/ui_actions/actions.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/ui_actions/base.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/ui_actions/support.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/ui_state_inspector/__init__.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/ui_state_inspector/gui_vision.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/ui_state_inspector/models.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/ui_state_machine/__init__.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/ui_state_machine/ai_recovery.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/ui_state_machine/decorators.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/ui_state_machine/exceptions.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/ui_state_machine/state_machine.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/models/__init__.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/models/document.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/models/document_statuses.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/models/file.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/models/remote_device.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/models/response_model.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/models/ui_operator.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/utils/__init__.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/utils/logger.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/utils/save_artifact.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk_sdk.egg-info/SOURCES.txt +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk_sdk.egg-info/dependency_links.txt +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk_sdk.egg-info/requires.txt +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk_sdk.egg-info/top_level.txt +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/pyproject.toml +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/requirements.txt +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/setup.cfg +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/tests/test_base.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/tests/test_client.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/tests/test_document_models.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/tests/test_exceptions.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/tests/test_file_models.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/tests/test_gui_automation.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/tests/test_task_decorator.py +0 -0
- {clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/tests/test_utils.py +0 -0
|
@@ -42,7 +42,11 @@ class RPAClerk(BaseClerk):
|
|
|
42
42
|
|
|
43
43
|
def get_coordinates(self, payload: Dict[str, Any]) -> Coords:
|
|
44
44
|
endpoint = "/action_model/get_coordinates"
|
|
45
|
-
|
|
45
|
+
try:
|
|
46
|
+
res = self.post_request(endpoint=endpoint, json=payload)
|
|
47
|
+
except Exception as e:
|
|
48
|
+
# We always want to be raising RuntimeError here to be caught in the do() method
|
|
49
|
+
raise RuntimeError(f"Failed to get coordinates: {str(e)}") from e
|
|
46
50
|
if res.data[0] is None: # type: ignore
|
|
47
51
|
raise RuntimeError("No coordinates found in the response.")
|
|
48
52
|
return Coords.model_validate(res.data[0])
|
|
@@ -13,7 +13,7 @@ gui_requirements = get_requirements("./clerk/gui_automation")
|
|
|
13
13
|
|
|
14
14
|
setup(
|
|
15
15
|
name="clerk-sdk",
|
|
16
|
-
version="0.4.
|
|
16
|
+
version="0.4.14",
|
|
17
17
|
description="Library for interacting with Clerk",
|
|
18
18
|
long_description=open("README.md").read(),
|
|
19
19
|
long_description_content_type="text/markdown",
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
{clerk_sdk-0.4.13 → clerk_sdk-0.4.14}/clerk/gui_automation/ui_state_machine/state_machine.py
RENAMED
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|