uipath 2.0.2.dev2__tar.gz → 2.0.3__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.

Potentially problematic release.


This version of uipath might be problematic. Click here for more details.

Files changed (109) hide show
  1. {uipath-2.0.2.dev2 → uipath-2.0.3}/PKG-INFO +1 -1
  2. {uipath-2.0.2.dev2 → uipath-2.0.3}/pyproject.toml +1 -1
  3. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_auth/_auth_server.py +35 -6
  4. {uipath-2.0.2.dev2 → uipath-2.0.3}/uv.lock +1 -1
  5. {uipath-2.0.2.dev2 → uipath-2.0.3}/.cursorrules +0 -0
  6. {uipath-2.0.2.dev2 → uipath-2.0.3}/.editorconfig +0 -0
  7. {uipath-2.0.2.dev2 → uipath-2.0.3}/.gitattributes +0 -0
  8. {uipath-2.0.2.dev2 → uipath-2.0.3}/.github/workflows/build.yml +0 -0
  9. {uipath-2.0.2.dev2 → uipath-2.0.3}/.github/workflows/cd.yml +0 -0
  10. {uipath-2.0.2.dev2 → uipath-2.0.3}/.github/workflows/ci.yml +0 -0
  11. {uipath-2.0.2.dev2 → uipath-2.0.3}/.github/workflows/commitlint.yml +0 -0
  12. {uipath-2.0.2.dev2 → uipath-2.0.3}/.github/workflows/lint.yml +0 -0
  13. {uipath-2.0.2.dev2 → uipath-2.0.3}/.github/workflows/test.yml +0 -0
  14. {uipath-2.0.2.dev2 → uipath-2.0.3}/.gitignore +0 -0
  15. {uipath-2.0.2.dev2 → uipath-2.0.3}/.pre-commit-config.yaml +0 -0
  16. {uipath-2.0.2.dev2 → uipath-2.0.3}/.python-version +0 -0
  17. {uipath-2.0.2.dev2 → uipath-2.0.3}/.vscode/extensions.json +0 -0
  18. {uipath-2.0.2.dev2 → uipath-2.0.3}/.vscode/settings.json +0 -0
  19. {uipath-2.0.2.dev2 → uipath-2.0.3}/CONTRIBUTING.md +0 -0
  20. {uipath-2.0.2.dev2 → uipath-2.0.3}/README.md +0 -0
  21. {uipath-2.0.2.dev2 → uipath-2.0.3}/docs/assets/uipath-logo.svg +0 -0
  22. {uipath-2.0.2.dev2 → uipath-2.0.3}/docs/assets.md +0 -0
  23. {uipath-2.0.2.dev2 → uipath-2.0.3}/docs/buckets.md +0 -0
  24. {uipath-2.0.2.dev2 → uipath-2.0.3}/docs/connections.md +0 -0
  25. {uipath-2.0.2.dev2 → uipath-2.0.3}/docs/context_grounding.md +0 -0
  26. {uipath-2.0.2.dev2 → uipath-2.0.3}/docs/index.md +0 -0
  27. {uipath-2.0.2.dev2 → uipath-2.0.3}/docs/jobs.md +0 -0
  28. {uipath-2.0.2.dev2 → uipath-2.0.3}/docs/processes.md +0 -0
  29. {uipath-2.0.2.dev2 → uipath-2.0.3}/docs/queues.md +0 -0
  30. {uipath-2.0.2.dev2 → uipath-2.0.3}/justfile +0 -0
  31. {uipath-2.0.2.dev2 → uipath-2.0.3}/mkdocs.yml +0 -0
  32. {uipath-2.0.2.dev2 → uipath-2.0.3}/py.typed +0 -0
  33. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/__init__.py +0 -0
  34. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/README.md +0 -0
  35. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/__init__.py +0 -0
  36. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_auth/_models.py +0 -0
  37. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_auth/_oidc_utils.py +0 -0
  38. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_auth/_portal_service.py +0 -0
  39. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_auth/_utils.py +0 -0
  40. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_auth/auth_config.json +0 -0
  41. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_auth/index.html +0 -0
  42. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_auth/localhost.crt +0 -0
  43. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_auth/localhost.key +0 -0
  44. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_runtime/_contracts.py +0 -0
  45. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_runtime/_logging.py +0 -0
  46. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_runtime/_runtime.py +0 -0
  47. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_templates/.psmdcp.template +0 -0
  48. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_templates/.rels.template +0 -0
  49. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_templates/[Content_Types].xml.template +0 -0
  50. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_templates/main.py.template +0 -0
  51. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_templates/package.nuspec.template +0 -0
  52. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_utils/_common.py +0 -0
  53. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_utils/_input_args.py +0 -0
  54. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/_utils/_parse_ast.py +0 -0
  55. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/cli_auth.py +0 -0
  56. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/cli_deploy.py +0 -0
  57. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/cli_init.py +0 -0
  58. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/cli_new.py +0 -0
  59. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/cli_pack.py +0 -0
  60. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/cli_publish.py +0 -0
  61. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/cli_run.py +0 -0
  62. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_cli/middlewares.py +0 -0
  63. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_config.py +0 -0
  64. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_execution_context.py +0 -0
  65. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_folder_context.py +0 -0
  66. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_models/__init__.py +0 -0
  67. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_models/action_schema.py +0 -0
  68. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_models/actions.py +0 -0
  69. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_models/assets.py +0 -0
  70. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_models/connections.py +0 -0
  71. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_models/context_grounding.py +0 -0
  72. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_models/context_grounding_index.py +0 -0
  73. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_models/exceptions.py +0 -0
  74. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_models/interrupt_models.py +0 -0
  75. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_models/job.py +0 -0
  76. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_models/llm_gateway.py +0 -0
  77. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_models/processes.py +0 -0
  78. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_models/queues.py +0 -0
  79. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_services/__init__.py +0 -0
  80. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_services/_base_service.py +0 -0
  81. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_services/actions_service.py +0 -0
  82. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_services/api_client.py +0 -0
  83. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_services/assets_service.py +0 -0
  84. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_services/buckets_service.py +0 -0
  85. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_services/connections_service.py +0 -0
  86. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_services/connections_service.pyi +0 -0
  87. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_services/context_grounding_service.py +0 -0
  88. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_services/folder_service.py +0 -0
  89. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_services/jobs_service.py +0 -0
  90. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_services/llm_gateway_service.py +0 -0
  91. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_services/processes_service.py +0 -0
  92. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_services/queues_service.py +0 -0
  93. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_uipath.py +0 -0
  94. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_utils/__init__.py +0 -0
  95. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_utils/_endpoint.py +0 -0
  96. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_utils/_infer_bindings.py +0 -0
  97. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_utils/_logs.py +0 -0
  98. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_utils/_request_override.py +0 -0
  99. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_utils/_request_spec.py +0 -0
  100. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_utils/_user_agent.py +0 -0
  101. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/_utils/constants.py +0 -0
  102. {uipath-2.0.2.dev2 → uipath-2.0.3}/src/uipath/py.typed +0 -0
  103. {uipath-2.0.2.dev2 → uipath-2.0.3}/tests/__init__.py +0 -0
  104. {uipath-2.0.2.dev2 → uipath-2.0.3}/tests/cli/test_init.py +0 -0
  105. {uipath-2.0.2.dev2 → uipath-2.0.3}/tests/conftest.py +0 -0
  106. {uipath-2.0.2.dev2 → uipath-2.0.3}/tests/sdk/services/test_llm_integration.py +0 -0
  107. {uipath-2.0.2.dev2 → uipath-2.0.3}/tests/sdk/services/test_llm_service.py +0 -0
  108. {uipath-2.0.2.dev2 → uipath-2.0.3}/tests/sdk/services/test_uipath_llm_integration.py +0 -0
  109. {uipath-2.0.2.dev2 → uipath-2.0.3}/tests/sdk/test_config.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath
3
- Version: 2.0.2.dev2
3
+ Version: 2.0.3
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "uipath"
3
- version = "2.0.2.dev2"
3
+ version = "2.0.3"
4
4
  description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
5
5
  readme = { file = "README.md", content-type = "text/markdown" }
6
6
  requires-python = ">=3.10"
@@ -113,7 +113,13 @@ def make_request_handler_class(state, code_verifier, token_callback, domain):
113
113
 
114
114
  class HTTPSServer:
115
115
  def __init__(self, port=6234, cert_file="localhost.crt", key_file="localhost.key"):
116
- """Initialize HTTPS server with configurable parameters."""
116
+ """Initialize HTTPS server with configurable parameters.
117
+
118
+ Args:
119
+ port (int, optional): Port number to run the server on. Defaults to 6234.
120
+ cert_file (str, optional): SSL certificate file. Defaults to "localhost.crt".
121
+ key_file (str, optional): SSL key file. Defaults to "localhost.key".
122
+ """
117
123
  self.current_path = os.path.dirname(os.path.abspath(__file__))
118
124
  self.port = port
119
125
  self.cert_file = os.path.join(self.current_path, "localhost.crt")
@@ -123,17 +129,31 @@ class HTTPSServer:
123
129
  self.should_shutdown = False
124
130
 
125
131
  def token_received_callback(self, token_data):
126
- """Callback for when a token is received."""
132
+ """Callback for when a token is received.
133
+
134
+ Args:
135
+ token_data (dict): The received token data.
136
+ """
127
137
  self.token_data = token_data
128
138
  self.should_shutdown = True
129
139
 
130
140
  def create_server(self, state, code_verifier, domain):
131
- """Create and configure the HTTPS server."""
141
+ """Create and configure the HTTPS server.
142
+
143
+ Args:
144
+ state (str): The OAuth state parameter.
145
+ code_verifier (str): The PKCE code verifier.
146
+ domain (str): The domain for authentication.
147
+
148
+ Returns:
149
+ socketserver.TCPServer: The configured HTTPS server.
150
+ """
132
151
  # Create SSL context
133
152
  context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
134
153
  context.load_cert_chain(self.cert_file, self.key_file)
135
154
 
136
- # Create server
155
+ # Create server with address reuse
156
+ socketserver.TCPServer.allow_reuse_address = True
137
157
  handler = make_request_handler_class(
138
158
  state, code_verifier, self.token_received_callback, domain
139
159
  )
@@ -143,7 +163,16 @@ class HTTPSServer:
143
163
  return self.httpd
144
164
 
145
165
  def start(self, state, code_verifier, domain):
146
- """Start the server."""
166
+ """Start the server.
167
+
168
+ Args:
169
+ state (str): The OAuth state parameter.
170
+ code_verifier (str): The PKCE code verifier.
171
+ domain (str): The domain for authentication.
172
+
173
+ Returns:
174
+ dict: The received token data or an empty dict if no token was received.
175
+ """
147
176
  if not self.httpd:
148
177
  self.create_server(state, code_verifier, domain)
149
178
 
@@ -159,7 +188,7 @@ class HTTPSServer:
159
188
  return self.token_data if self.token_data else {}
160
189
 
161
190
  def stop(self):
162
- """Stop the server gracefully."""
191
+ """Stop the server gracefully and cleanup resources."""
163
192
  if self.httpd:
164
193
  self.httpd.server_close()
165
194
  self.httpd = None
@@ -2320,7 +2320,7 @@ wheels = [
2320
2320
 
2321
2321
  [[package]]
2322
2322
  name = "uipath"
2323
- version = "2.0.2.dev2"
2323
+ version = "2.0.3"
2324
2324
  source = { editable = "." }
2325
2325
  dependencies = [
2326
2326
  { name = "click" },
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