uipath 2.1.61__py3-none-any.whl → 2.1.62__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.
@@ -126,8 +126,8 @@ class LockInfo(BaseModel):
126
126
  arbitrary_types_allowed=True,
127
127
  extra="allow",
128
128
  )
129
- project_lock_key: str = Field(alias="projectLockKey")
130
- solution_lock_key: str = Field(alias="solutionLockKey")
129
+ project_lock_key: Optional[str] = Field(alias="projectLockKey")
130
+ solution_lock_key: Optional[str] = Field(alias="solutionLockKey")
131
131
 
132
132
 
133
133
  def get_folder_by_name(
@@ -203,6 +203,8 @@ def with_lock_retry(func: Callable[..., Any]) -> Callable[..., Any]:
203
203
  async def wrapper(self, *args, **kwargs):
204
204
  try:
205
205
  lock_info = await self._retrieve_lock()
206
+ if not lock_info.project_lock_key:
207
+ raise RuntimeError("Failed to retrieve project lock key.")
206
208
 
207
209
  headers = kwargs.get("headers", {}) or {}
208
210
  headers[HEADER_SW_LOCK_KEY] = lock_info.project_lock_key
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath
3
- Version: 2.1.61
3
+ Version: 2.1.62
4
4
  Summary: Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools.
5
5
  Project-URL: Homepage, https://uipath.com
6
6
  Project-URL: Repository, https://github.com/UiPath/uipath-python
@@ -73,7 +73,7 @@ uipath/_cli/_utils/_input_args.py,sha256=3LGNqVpJItvof75VGm-ZNTUMUH9-c7-YgleM5b2
73
73
  uipath/_cli/_utils/_parse_ast.py,sha256=8Iohz58s6bYQ7rgWtOTjrEInLJ-ETikmOMZzZdIY2Co,20072
74
74
  uipath/_cli/_utils/_processes.py,sha256=q7DfEKHISDWf3pngci5za_z0Pbnf_shWiYEcTOTCiyk,1855
75
75
  uipath/_cli/_utils/_project_files.py,sha256=sulh3xZhDDw_rBOrn_XSUfVSD6sUu47ZK4n_lF5BKkQ,13197
76
- uipath/_cli/_utils/_studio_project.py,sha256=VR9SXsn9vfSoEwhJFXjkhnm62A2gLquGpqp8wpwEz7o,15429
76
+ uipath/_cli/_utils/_studio_project.py,sha256=hmWn9i7COkms3wAy5Di04ENF9KZAwbn_lyyTGDyq9uU,15571
77
77
  uipath/_cli/_utils/_tracing.py,sha256=2igb03j3EHjF_A406UhtCKkPfudVfFPjUq5tXUEG4oo,1541
78
78
  uipath/_cli/_utils/_uv_helpers.py,sha256=6SvoLnZPoKIxW0sjMvD1-ENV_HOXDYzH34GjBqwT138,3450
79
79
  uipath/_events/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -155,8 +155,8 @@ uipath/tracing/_traced.py,sha256=yBIY05PCCrYyx50EIHZnwJaKNdHPNx-YTR1sHQl0a98,199
155
155
  uipath/tracing/_utils.py,sha256=qd7N56tg6VXQ9pREh61esBgUWLNA0ssKsE0QlwrRWFM,11974
156
156
  uipath/utils/__init__.py,sha256=VD-KXFpF_oWexFg6zyiWMkxl2HM4hYJMIUDZ1UEtGx0,105
157
157
  uipath/utils/_endpoints_manager.py,sha256=iRTl5Q0XAm_YgcnMcJOXtj-8052sr6jpWuPNz6CgT0Q,8408
158
- uipath-2.1.61.dist-info/METADATA,sha256=5b9chjUj31hnZQpZRZ7bSHGbottVCYMvbaJfDWaY4j0,6482
159
- uipath-2.1.61.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
160
- uipath-2.1.61.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
161
- uipath-2.1.61.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
162
- uipath-2.1.61.dist-info/RECORD,,
158
+ uipath-2.1.62.dist-info/METADATA,sha256=s24g06f9pTc7KB-n0ewrZFNeRIHQiX6-7Po5W9Mffo0,6482
159
+ uipath-2.1.62.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
160
+ uipath-2.1.62.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
161
+ uipath-2.1.62.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
162
+ uipath-2.1.62.dist-info/RECORD,,