From 172a56ca664047e946ee503a472f881d2df24788 Mon Sep 17 00:00:00 2001 From: viogroza Date: Wed, 27 May 2026 19:08:14 +0300 Subject: [PATCH] Python: Add better string for timeout [STUD-64372] Adjust OperationTimeoutDescription --- .../Properties/UiPath.Python.Activities.Designer.cs | 2 +- .../Properties/UiPath.Python.Activities.resx | 2 +- .../UiPath.Python.Packaging/docs/activities/PythonScope.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Activities/Python/UiPath.Python.Activities/Properties/UiPath.Python.Activities.Designer.cs b/Activities/Python/UiPath.Python.Activities/Properties/UiPath.Python.Activities.Designer.cs index 210d0c2b..7d9288be 100644 --- a/Activities/Python/UiPath.Python.Activities/Properties/UiPath.Python.Activities.Designer.cs +++ b/Activities/Python/UiPath.Python.Activities/Properties/UiPath.Python.Activities.Designer.cs @@ -349,7 +349,7 @@ public static string OperationTimeout { } /// - /// Looks up a localized string similar to The amount of time to allow a Python script to run until it is terminated and an exception is thrown.. + /// Looks up a localized string similar to The amount of time in seconds to allow a Python script to run until it is terminated and an exception is thrown.. /// public static string OperationTimeoutDescription { get { diff --git a/Activities/Python/UiPath.Python.Activities/Properties/UiPath.Python.Activities.resx b/Activities/Python/UiPath.Python.Activities/Properties/UiPath.Python.Activities.resx index 882990b3..011081c9 100644 --- a/Activities/Python/UiPath.Python.Activities/Properties/UiPath.Python.Activities.resx +++ b/Activities/Python/UiPath.Python.Activities/Properties/UiPath.Python.Activities.resx @@ -291,7 +291,7 @@ Timeout - The amount of time to allow a Python script to run until it is terminated and an exception is thrown. + The amount of time in seconds to allow a Python script to run until it is terminated and an exception is thrown. For Linux is the path to Python libpython*.so library including library name. For Windows (Version>3.9) path to python**.dll including library name(usually is in Python Home path. For Windows (Version<=3.9) leave empty. diff --git a/Activities/Python/UiPath.Python.Packaging/docs/activities/PythonScope.md b/Activities/Python/UiPath.Python.Packaging/docs/activities/PythonScope.md index 9089650f..8839aed8 100644 --- a/Activities/Python/UiPath.Python.Packaging/docs/activities/PythonScope.md +++ b/Activities/Python/UiPath.Python.Packaging/docs/activities/PythonScope.md @@ -14,7 +14,7 @@ Container activity that initializes and manages the Python runtime session for c | Name | Display Name | Kind | Type | Required | Default | Placeholder | Description | |------|-------------|------|------|----------|---------|-------------|-------------| | `LibraryPath` | Library path (Linux or version>3.9) | InArgument | `string` | | null | | For Linux is the path to Python libpython*.so library including library name. For Windows (Version>3.9) path to python**.dll including library name(usually is in Python Home path. For Windows (Version<=3.9) leave empty. | -| `OperationTimeout` | Timeout | InArgument | `double` | | 3600 | | The amount of time to allow a Python script to run until it is terminated and an exception is thrown. | +| `OperationTimeout` | Timeout | InArgument | `double` | | 3600 | | The amount of time in seconds to allow a Python script to run until it is terminated and an exception is thrown. | | `Path` | Path | InArgument | `string` | | null | | Python home path | | `WorkingFolder` | WorkingFolder | InArgument | `string` | | null | | Used to specify the working folder of the scripts executing under the current scope | | `ScriptDataSizeLimitMB` | Script Data Size Limit (MB) | InArgument | `int` | | null | | Maximum size in MB of the data passed to the Python script as method arguments. If the size of the arguments exceeds this limit, an error is raised. Minimum accepted value is 1 MB. Leave empty to use the runtime default (25 MB). |