uipath 2.1.33__py3-none-any.whl → 2.1.34__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.
@@ -180,8 +180,11 @@ class RunDetailsPanel(Container):
180
180
 
181
181
  elif isinstance(value, str):
182
182
  if prefix:
183
- for line in value.splitlines():
184
- lines.append(f"{prefix}: {line}")
183
+ split_lines = value.splitlines()
184
+ if split_lines:
185
+ lines.append(f"{prefix}: {split_lines[0]}")
186
+ for line in split_lines[1:]:
187
+ lines.append(f"{' ' * 2}{line}")
185
188
  else:
186
189
  lines.extend(value.splitlines())
187
190
 
@@ -68,7 +68,7 @@ def get_project_config(directory: str) -> dict[str, str]:
68
68
  "version": toml_data["version"],
69
69
  "authors": toml_data["authors"],
70
70
  "dependencies": toml_data.get("dependencies", {}),
71
- "requires-python": toml_data.get("requires-python", {}),
71
+ "requires-python": toml_data.get("requires-python", None),
72
72
  }
73
73
 
74
74
 
@@ -104,14 +104,15 @@ def validate_config(config: dict[str, str]) -> None:
104
104
  )
105
105
 
106
106
  invalid_chars = ["&", "<", ">", '"', "'", ";"]
107
- for char in invalid_chars:
108
- if char in config["project_name"]:
109
- console.error(f"Project name contains invalid character: '{char}'")
110
-
111
107
  for char in invalid_chars:
112
108
  if char in config["description"]:
113
109
  console.error(f"Project description contains invalid character: '{char}'")
114
110
 
111
+ invalid_chars += [" "]
112
+ for char in invalid_chars:
113
+ if char in config["project_name"]:
114
+ console.error(f"Project name contains invalid character: '{char}'")
115
+
115
116
 
116
117
  def validate_config_structure(config_data: dict[str, Any]) -> None:
117
118
  """Validate the structure of uipath.json configuration.
uipath/_cli/cli_dev.py CHANGED
@@ -18,27 +18,27 @@ console = ConsoleLogger()
18
18
  @track
19
19
  def dev(interface: Optional[str]) -> None:
20
20
  """Launch interactive debugging interface."""
21
- console.info("🚀 Starting UiPath Dev Terminal...")
22
- console.info("Use 'q' to quit, 'n' for new run, 'r' to execute")
23
-
24
- result = Middlewares.next(
25
- "dev",
26
- interface,
27
- )
28
-
29
- if result.should_continue is False:
30
- return
31
-
32
- try:
33
- if interface == "terminal":
34
- runtime_factory = UiPathRuntimeFactory(UiPathRuntime, UiPathRuntimeContext)
35
- app = UiPathDevTerminal(runtime_factory)
36
- asyncio.run(app.run_async())
37
- else:
38
- console.error(f"Unknown interface: {interface}")
39
- except KeyboardInterrupt:
40
- console.info("Debug session interrupted by user")
41
- except Exception as e:
42
- console.error(
43
- f"Error running debug interface: {str(e)}", include_traceback=True
21
+ with console.spinner("Launching UiPath debugging terminal ..."):
22
+ result = Middlewares.next(
23
+ "dev",
24
+ interface,
44
25
  )
26
+
27
+ if result.should_continue is False:
28
+ return
29
+
30
+ try:
31
+ if interface == "terminal":
32
+ runtime_factory = UiPathRuntimeFactory(
33
+ UiPathRuntime, UiPathRuntimeContext
34
+ )
35
+ app = UiPathDevTerminal(runtime_factory)
36
+ asyncio.run(app.run_async())
37
+ else:
38
+ console.error(f"Unknown interface: {interface}")
39
+ except KeyboardInterrupt:
40
+ console.info("Debug session interrupted by user")
41
+ except Exception as e:
42
+ console.error(
43
+ f"Error running debug interface: {str(e)}", include_traceback=True
44
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath
3
- Version: 2.1.33
3
+ Version: 2.1.34
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
@@ -8,7 +8,7 @@ uipath/_cli/README.md,sha256=GLtCfbeIKZKNnGTCsfSVqRQ27V1btT1i2bSAyW_xZl4,474
8
8
  uipath/_cli/__init__.py,sha256=UPT7j36tQWyF8_q-Bhbi9AQiUKUMM_Ikn_bpfy-87U0,2141
9
9
  uipath/_cli/cli_auth.py,sha256=-KgyI_IKWNWoEUFr4GxrQJF9qQHSYqTGvjNOj1mkxPc,7831
10
10
  uipath/_cli/cli_deploy.py,sha256=KPCmQ0c_NYD5JofSDao5r6QYxHshVCRxlWDVnQvlp5w,645
11
- uipath/_cli/cli_dev.py,sha256=_AzGYmjz_uT3u3BvD4l9sool866lqibitZMa5-Yjs7Y,1314
11
+ uipath/_cli/cli_dev.py,sha256=AtxGi6mFJoigvNuqiP3qaQmoiL6VMmli6nJdRJX_oKQ,1370
12
12
  uipath/_cli/cli_eval.py,sha256=INkfaZKadShtFOrVfTNM7K2kjXV-cwIqsOfIEYqDSGc,3656
13
13
  uipath/_cli/cli_init.py,sha256=jksza6bHfh4z1nKyEJBEEZlkO37yZoCz_FJWq_RPhWI,6093
14
14
  uipath/_cli/cli_invoke.py,sha256=4Oc6CM21Y24b_5I2MAqu-TffZL1aOKQwxfBmC6mPR8o,4000
@@ -32,7 +32,7 @@ uipath/_cli/_auth/index.html,sha256=uGK0CDTP8Rys_p4O_Pbd2x4tz0frKNVcumjrXnal5Nc,
32
32
  uipath/_cli/_auth/localhost.crt,sha256=oGl9oLLOiouHubAt39B4zEfylFvKEtbtr_43SIliXJc,1226
33
33
  uipath/_cli/_auth/localhost.key,sha256=X31VYXD8scZtmGA837dGX5l6G-LXHLo5ItWJhZXaz3c,1679
34
34
  uipath/_cli/_dev/_terminal/__init__.py,sha256=08aBD5-I6rcO9Sjp3sWWlinoRvHpa67Ss7yawXBhkBI,10136
35
- uipath/_cli/_dev/_terminal/_components/_details.py,sha256=HzCFvi7CsXWsGXSFXo2X_QvUSpjtC8NfEM8Yu1wuOOA,16228
35
+ uipath/_cli/_dev/_terminal/_components/_details.py,sha256=kgTWoBwr5f509gUmfYZzCmxJ86BpfbNhWT5oCf7rHoM,16377
36
36
  uipath/_cli/_dev/_terminal/_components/_history.py,sha256=-0lystNcVUCUbHgEUVQ-CdxAfV3_X5uhjxWevxs19Z0,2054
37
37
  uipath/_cli/_dev/_terminal/_components/_json_input.py,sha256=MPkaeiA5KfkwJZKuNJ02hQksVtluZlmJv9nLRRAWYQI,592
38
38
  uipath/_cli/_dev/_terminal/_components/_new.py,sha256=jxDFOQ6NCzTgesgx3srRr45ij1FqdICAB0uo6vXeh4I,4614
@@ -74,7 +74,7 @@ uipath/_cli/_utils/_folders.py,sha256=UVJcKPfPAVR5HF4AP6EXdlNVcfEF1v5pwGCpoAgBY3
74
74
  uipath/_cli/_utils/_input_args.py,sha256=3LGNqVpJItvof75VGm-ZNTUMUH9-c7-YgleM5b2YgRg,5088
75
75
  uipath/_cli/_utils/_parse_ast.py,sha256=8Iohz58s6bYQ7rgWtOTjrEInLJ-ETikmOMZzZdIY2Co,20072
76
76
  uipath/_cli/_utils/_processes.py,sha256=q7DfEKHISDWf3pngci5za_z0Pbnf_shWiYEcTOTCiyk,1855
77
- uipath/_cli/_utils/_project_files.py,sha256=MMexSE6BapxitYBl1UUWy_AgkJMdGNFD1t2MkU0hwz4,13115
77
+ uipath/_cli/_utils/_project_files.py,sha256=a_mhBN0CLp2h56DYswjE79BP3M_LpIMYteJcfcGoCRc,13144
78
78
  uipath/_cli/_utils/_studio_project.py,sha256=X4X9HbdbGgLQtJRE-h8rcALCrupWkrpqOfSnt9c-hlo,15541
79
79
  uipath/_cli/_utils/_tracing.py,sha256=2igb03j3EHjF_A406UhtCKkPfudVfFPjUq5tXUEG4oo,1541
80
80
  uipath/_cli/_utils/_uv_helpers.py,sha256=6SvoLnZPoKIxW0sjMvD1-ENV_HOXDYzH34GjBqwT138,3450
@@ -128,8 +128,8 @@ uipath/tracing/_traced.py,sha256=qeVDrds2OUnpdUIA0RhtF0kg2dlAZhyC1RRkI-qivTM,185
128
128
  uipath/tracing/_utils.py,sha256=wJRELaPu69iY0AhV432Dk5QYf_N_ViRU4kAUG1BI1ew,10384
129
129
  uipath/utils/__init__.py,sha256=VD-KXFpF_oWexFg6zyiWMkxl2HM4hYJMIUDZ1UEtGx0,105
130
130
  uipath/utils/_endpoints_manager.py,sha256=iRTl5Q0XAm_YgcnMcJOXtj-8052sr6jpWuPNz6CgT0Q,8408
131
- uipath-2.1.33.dist-info/METADATA,sha256=8ilJfyu-w3YSekotgT-mJKdVHHgeUBDFXhZMufMR4BY,6450
132
- uipath-2.1.33.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
133
- uipath-2.1.33.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
134
- uipath-2.1.33.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
135
- uipath-2.1.33.dist-info/RECORD,,
131
+ uipath-2.1.34.dist-info/METADATA,sha256=C9qozKOYfiguaL8jjZc1UQ_eZmBGpw2jY7Fwla1cXHc,6450
132
+ uipath-2.1.34.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
133
+ uipath-2.1.34.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
134
+ uipath-2.1.34.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
135
+ uipath-2.1.34.dist-info/RECORD,,