uipath 2.1.130__py3-none-any.whl → 2.1.132__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.

Potentially problematic release.


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

@@ -221,3 +221,343 @@ The `uipath.json` file is automatically generated by `uipath init` and defines y
221
221
  - The `jsonSchema` must match your Pydantic models exactly
222
222
  - Re-run `uipath init --infer-bindings` instead of manual edits when possible
223
223
 
224
+
225
+ ## Service Commands Reference
226
+
227
+ The UiPath CLI provides commands for interacting with UiPath platform services. These commands allow you to manage buckets, assets, jobs, and other resources.
228
+
229
+ ### `uipath buckets`
230
+
231
+ Manage UiPath storage buckets and files.
232
+
233
+ Buckets are cloud storage containers for files used by automation processes.
234
+
235
+ 
236
+ Bucket Operations:
237
+ list - List all buckets
238
+ create - Create a new bucket
239
+ delete - Delete a bucket
240
+ retrieve - Get bucket details
241
+ exists - Check if bucket exists
242
+
243
+ 
244
+ File Operations (use 'buckets files' subcommand):
245
+ files list - List files in a bucket
246
+ files search - Search files using glob patterns
247
+ files upload - Upload a file to a bucket
248
+ files download - Download a file from a bucket
249
+ files delete - Delete a file from a bucket
250
+ files exists - Check if a file exists
251
+
252
+ 
253
+ Examples:
254
+ 
255
+ # Bucket operations with explicit folder
256
+ uipath buckets list --folder-path "Shared"
257
+ uipath buckets create my-bucket --description "Data storage"
258
+ uipath buckets exists my-bucket
259
+ uipath buckets delete my-bucket --confirm
260
+ 
261
+ # Using environment variable for folder context
262
+ export UIPATH_FOLDER_PATH="Shared"
263
+ uipath buckets list
264
+ uipath buckets create my-bucket --description "Data storage"
265
+ 
266
+ # File operations
267
+ uipath buckets files list my-bucket
268
+ uipath buckets files search my-bucket "*.pdf"
269
+ uipath buckets files upload my-bucket ./data.csv remote/data.csv
270
+ uipath buckets files download my-bucket data.csv ./local.csv
271
+ uipath buckets files delete my-bucket old-data.csv --confirm
272
+ uipath buckets files exists my-bucket data.csv
273
+
274
+
275
+ **Subcommands:**
276
+
277
+ **`uipath buckets create`**
278
+
279
+ Create a new Bucket.
280
+
281
+ Examples:
282
+ uipath buckets create my-resource
283
+ uipath buckets create my-resource --folder-path Shared
284
+
285
+
286
+ Arguments:
287
+ - `name` (required): N/A
288
+
289
+ Options:
290
+ - `--description`: Bucket description
291
+ - `--folder-path`: Folder path (e.g., "Shared"). Can also be set via UIPATH_FOLDER_PATH environment variable. (default: `Sentinel.UNSET`)
292
+ - `--folder-key`: Folder key (UUID) (default: `Sentinel.UNSET`)
293
+ - `--format`: Output format (overrides global) (default: `Sentinel.UNSET`)
294
+ - `--output`, `-o`: Output file (overrides global) (default: `Sentinel.UNSET`)
295
+
296
+ **`uipath buckets delete`**
297
+
298
+ Delete a bucket.
299
+
300
+ 
301
+ Examples:
302
+ uipath buckets delete my-bucket --confirm
303
+ uipath buckets delete my-bucket --dry-run
304
+
305
+
306
+ Arguments:
307
+ - `name` (required): N/A
308
+
309
+ Options:
310
+ - `--confirm`: Skip confirmation prompt
311
+ - `--dry-run`: Show what would be deleted without deleting
312
+ - `--folder-path`: Folder path (e.g., "Shared"). Can also be set via UIPATH_FOLDER_PATH environment variable. (default: `Sentinel.UNSET`)
313
+ - `--folder-key`: Folder key (UUID) (default: `Sentinel.UNSET`)
314
+ - `--format`: Output format (overrides global) (default: `Sentinel.UNSET`)
315
+ - `--output`, `-o`: Output file (overrides global) (default: `Sentinel.UNSET`)
316
+
317
+ **`uipath buckets exists`**
318
+
319
+ Check if a Bucket exists.
320
+
321
+ Examples:
322
+ uipath buckets exists my-resource
323
+ uipath buckets exists my-resource --folder-path Shared
324
+
325
+
326
+ Arguments:
327
+ - `name` (required): N/A
328
+
329
+ Options:
330
+ - `--folder-path`: Folder path (e.g., "Shared"). Can also be set via UIPATH_FOLDER_PATH environment variable. (default: `Sentinel.UNSET`)
331
+ - `--folder-key`: Folder key (UUID) (default: `Sentinel.UNSET`)
332
+ - `--format`: Output format (overrides global) (default: `Sentinel.UNSET`)
333
+ - `--output`, `-o`: Output file (overrides global) (default: `Sentinel.UNSET`)
334
+
335
+ #### `uipath buckets files`
336
+
337
+ Manage files within buckets.
338
+
339
+ 
340
+ Examples:
341
+ 
342
+ # List files in a bucket
343
+ uipath buckets files list my-bucket
344
+ 
345
+ # Search for files with glob pattern
346
+ uipath buckets files search my-bucket "*.pdf"
347
+ 
348
+ # Upload a file
349
+ uipath buckets files upload my-bucket ./data.csv remote/data.csv
350
+ 
351
+ # Download a file
352
+ uipath buckets files download my-bucket data.csv ./local.csv
353
+ 
354
+ # Delete a file
355
+ uipath buckets files delete my-bucket old-data.csv --confirm
356
+ 
357
+ # Check if file exists
358
+ uipath buckets files exists my-bucket data.csv
359
+
360
+
361
+ **`uipath buckets files delete`**
362
+
363
+ Delete a file from a bucket.
364
+
365
+ 
366
+ Arguments:
367
+ BUCKET_NAME: Name of the bucket
368
+ FILE_PATH: Path to file in bucket
369
+
370
+ 
371
+ Examples:
372
+ uipath buckets files delete my-bucket old-data.csv --confirm
373
+ uipath buckets files delete reports archive/old.pdf --dry-run
374
+
375
+
376
+ Arguments:
377
+ - `bucket_name` (required): N/A
378
+ - `file_path` (required): N/A
379
+
380
+ Options:
381
+ - `--confirm`: Skip confirmation prompt
382
+ - `--dry-run`: Show what would be deleted
383
+ - `--folder-path`: Folder path (e.g., "Shared"). Can also be set via UIPATH_FOLDER_PATH environment variable. (default: `Sentinel.UNSET`)
384
+ - `--folder-key`: Folder key (UUID) (default: `Sentinel.UNSET`)
385
+ - `--format`: Output format (overrides global) (default: `Sentinel.UNSET`)
386
+ - `--output`, `-o`: Output file (overrides global) (default: `Sentinel.UNSET`)
387
+
388
+ **`uipath buckets files download`**
389
+
390
+ Download a file from a bucket.
391
+
392
+ 
393
+ Arguments:
394
+ BUCKET_NAME: Name of the bucket
395
+ REMOTE_PATH: Path to file in bucket
396
+ LOCAL_PATH: Local destination path
397
+
398
+ 
399
+ Examples:
400
+ uipath buckets files download my-bucket data.csv ./downloads/data.csv
401
+ uipath buckets files download reports monthly/report.pdf ./report.pdf
402
+
403
+
404
+ Arguments:
405
+ - `bucket_name` (required): N/A
406
+ - `remote_path` (required): N/A
407
+ - `local_path` (required): N/A
408
+
409
+ Options:
410
+ - `--folder-path`: Folder path (e.g., "Shared"). Can also be set via UIPATH_FOLDER_PATH environment variable. (default: `Sentinel.UNSET`)
411
+ - `--folder-key`: Folder key (UUID) (default: `Sentinel.UNSET`)
412
+ - `--format`: Output format (overrides global) (default: `Sentinel.UNSET`)
413
+ - `--output`, `-o`: Output file (overrides global) (default: `Sentinel.UNSET`)
414
+
415
+ **`uipath buckets files exists`**
416
+
417
+ Check if a file exists in a bucket.
418
+
419
+ 
420
+ Arguments:
421
+ BUCKET_NAME: Name of the bucket
422
+ FILE_PATH: Path to file in bucket
423
+
424
+ 
425
+ Examples:
426
+ uipath buckets files exists my-bucket data.csv
427
+ uipath buckets files exists reports monthly/report.pdf
428
+
429
+
430
+ Arguments:
431
+ - `bucket_name` (required): N/A
432
+ - `file_path` (required): N/A
433
+
434
+ Options:
435
+ - `--folder-path`: Folder path (e.g., "Shared"). Can also be set via UIPATH_FOLDER_PATH environment variable. (default: `Sentinel.UNSET`)
436
+ - `--folder-key`: Folder key (UUID) (default: `Sentinel.UNSET`)
437
+ - `--format`: Output format (overrides global) (default: `Sentinel.UNSET`)
438
+ - `--output`, `-o`: Output file (overrides global) (default: `Sentinel.UNSET`)
439
+
440
+ **`uipath buckets files list`**
441
+
442
+ List files in a bucket.
443
+
444
+ 
445
+ Arguments:
446
+ BUCKET_NAME: Name of the bucket
447
+
448
+ 
449
+ Examples:
450
+ uipath buckets files list my-bucket
451
+ uipath buckets files list my-bucket --prefix "data/"
452
+ uipath buckets files list reports --limit 10 --format json
453
+ uipath buckets files list my-bucket --all
454
+
455
+
456
+ Arguments:
457
+ - `bucket_name` (required): N/A
458
+
459
+ Options:
460
+ - `--prefix`: Filter files by prefix (default: ``)
461
+ - `--limit`: Maximum number of files to return (default: `Sentinel.UNSET`)
462
+ - `--offset`: Number of files to skip (default: `0`)
463
+ - `--all`: Fetch all files (auto-paginate)
464
+ - `--folder-path`: Folder path (e.g., "Shared"). Can also be set via UIPATH_FOLDER_PATH environment variable. (default: `Sentinel.UNSET`)
465
+ - `--folder-key`: Folder key (UUID) (default: `Sentinel.UNSET`)
466
+ - `--format`: Output format (overrides global) (default: `Sentinel.UNSET`)
467
+ - `--output`, `-o`: Output file (overrides global) (default: `Sentinel.UNSET`)
468
+
469
+ **`uipath buckets files search`**
470
+
471
+ Search for files using glob patterns.
472
+
473
+ Uses the GetFiles API which supports glob patterns like *.pdf or data_*.csv.
474
+
475
+ 
476
+ Arguments:
477
+ BUCKET_NAME: Name of the bucket
478
+ PATTERN: Glob pattern to match files (e.g., "*.pdf", "data_*.csv")
479
+
480
+ 
481
+ Examples:
482
+ uipath buckets files search my-bucket "*.pdf"
483
+ uipath buckets files search reports "*.csv" --recursive
484
+ uipath buckets files search my-bucket "data_*.json" --prefix "archive/"
485
+
486
+
487
+ Arguments:
488
+ - `bucket_name` (required): N/A
489
+ - `pattern` (required): N/A
490
+
491
+ Options:
492
+ - `--prefix`: Directory path to search in (default: ``)
493
+ - `--recursive`: Search subdirectories recursively
494
+ - `--limit`: Maximum number of files to return (default: `Sentinel.UNSET`)
495
+ - `--folder-path`: Folder path (e.g., "Shared"). Can also be set via UIPATH_FOLDER_PATH environment variable. (default: `Sentinel.UNSET`)
496
+ - `--folder-key`: Folder key (UUID) (default: `Sentinel.UNSET`)
497
+ - `--format`: Output format (overrides global) (default: `Sentinel.UNSET`)
498
+ - `--output`, `-o`: Output file (overrides global) (default: `Sentinel.UNSET`)
499
+
500
+ **`uipath buckets files upload`**
501
+
502
+ Upload a file to a bucket.
503
+
504
+ 
505
+ Arguments:
506
+ BUCKET_NAME: Name of the bucket
507
+ LOCAL_PATH: Local file to upload
508
+ REMOTE_PATH: Destination path in bucket
509
+
510
+ 
511
+ Examples:
512
+ uipath buckets files upload my-bucket ./data.csv remote/data.csv
513
+ uipath buckets files upload reports ./report.pdf monthly/report.pdf
514
+
515
+
516
+ Arguments:
517
+ - `bucket_name` (required): N/A
518
+ - `local_path` (required): N/A
519
+ - `remote_path` (required): N/A
520
+
521
+ Options:
522
+ - `--folder-path`: Folder path (e.g., "Shared"). Can also be set via UIPATH_FOLDER_PATH environment variable. (default: `Sentinel.UNSET`)
523
+ - `--folder-key`: Folder key (UUID) (default: `Sentinel.UNSET`)
524
+ - `--format`: Output format (overrides global) (default: `Sentinel.UNSET`)
525
+ - `--output`, `-o`: Output file (overrides global) (default: `Sentinel.UNSET`)
526
+
527
+ **`uipath buckets list`**
528
+
529
+ List all Buckets.
530
+
531
+ Examples:
532
+ uipath buckets list
533
+ uipath buckets list --folder-path Shared
534
+
535
+
536
+ Options:
537
+ - `--limit`: Maximum number of items to return (default: `Sentinel.UNSET`)
538
+ - `--offset`: Number of items to skip (default: `0`)
539
+ - `--folder-path`: Folder path (e.g., "Shared"). Can also be set via UIPATH_FOLDER_PATH environment variable. (default: `Sentinel.UNSET`)
540
+ - `--folder-key`: Folder key (UUID) (default: `Sentinel.UNSET`)
541
+ - `--format`: Output format (overrides global) (default: `Sentinel.UNSET`)
542
+ - `--output`, `-o`: Output file (overrides global) (default: `Sentinel.UNSET`)
543
+
544
+ **`uipath buckets retrieve`**
545
+
546
+ Retrieve a bucket by name or key.
547
+
548
+ 
549
+ Examples:
550
+ uipath buckets retrieve --name "my-bucket"
551
+ uipath buckets retrieve --key "abc-123-def-456" --format json
552
+
553
+
554
+ Options:
555
+ - `--name`: Bucket name (default: `Sentinel.UNSET`)
556
+ - `--key`: Bucket key (UUID) (default: `Sentinel.UNSET`)
557
+ - `--folder-path`: Folder path (e.g., "Shared"). Can also be set via UIPATH_FOLDER_PATH environment variable. (default: `Sentinel.UNSET`)
558
+ - `--folder-key`: Folder key (UUID) (default: `Sentinel.UNSET`)
559
+ - `--format`: Output format (overrides global) (default: `Sentinel.UNSET`)
560
+ - `--output`, `-o`: Output file (overrides global) (default: `Sentinel.UNSET`)
561
+
562
+ ---
563
+
@@ -106,11 +106,17 @@ sdk.buckets.create(name: str, description: Optional[str]=None, identifier: Optio
106
106
  # Async version of create().
107
107
  sdk.buckets.create_async(name: str, description: Optional[str]=None, identifier: Optional[str]=None, folder_path: Optional[str]=None, folder_key: Optional[str]=None) -> uipath.models.buckets.Bucket
108
108
 
109
+ # Delete a bucket.
110
+ sdk.buckets.delete(name: Optional[str]=None, key: Optional[str]=None, folder_path: Optional[str]=None, folder_key: Optional[str]=None) -> None
111
+
112
+ # Async version of delete().
113
+ sdk.buckets.delete_async(name: Optional[str]=None, key: Optional[str]=None, folder_path: Optional[str]=None, folder_key: Optional[str]=None) -> None
114
+
109
115
  # Delete a file from a bucket.
110
- sdk.buckets.delete(name: Optional[str]=None, key: Optional[str]=None, blob_file_path: str, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> None
116
+ sdk.buckets.delete_file(name: Optional[str]=None, key: Optional[str]=None, blob_file_path: str, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> None
111
117
 
112
118
  # Delete a file from a bucket asynchronously.
113
- sdk.buckets.delete_async(name: Optional[str]=None, key: Optional[str]=None, blob_file_path: str, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> None
119
+ sdk.buckets.delete_file_async(name: Optional[str]=None, key: Optional[str]=None, blob_file_path: str, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> None
114
120
 
115
121
  # Download a file from a bucket.
116
122
  sdk.buckets.download(name: Optional[str]=None, key: Optional[str]=None, blob_file_path: str, destination_path: str, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> None
@@ -124,6 +130,12 @@ sdk.buckets.exists(name: str, folder_key: Optional[str]=None, folder_path: Optio
124
130
  # Async version of exists().
125
131
  sdk.buckets.exists_async(name: str, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> bool
126
132
 
133
+ # Check if a file exists in a bucket.
134
+ sdk.buckets.exists_file(name: Optional[str]=None, key: Optional[str]=None, blob_file_path: str, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> bool
135
+
136
+ # Async version of exists_file().
137
+ sdk.buckets.exists_file_async(name: Optional[str]=None, key: Optional[str]=None, blob_file_path: str, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> bool
138
+
127
139
  # Get files using OData GetFiles API (Studio-compatible).
128
140
  sdk.buckets.get_files(name: Optional[str]=None, key: Optional[str]=None, prefix: str="", recursive: bool=False, file_name_glob: Optional[str]=None, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> typing.Iterator[uipath.models.buckets.BucketFile]
129
141
 
@@ -258,6 +258,62 @@ class BucketsService(FolderContext, BaseService):
258
258
  bucket = Bucket.model_validate(response)
259
259
  return bucket
260
260
 
261
+ @traced(name="buckets_delete", run_type="uipath")
262
+ @infer_bindings(resource_type="bucket")
263
+ def delete(
264
+ self,
265
+ *,
266
+ name: Optional[str] = None,
267
+ key: Optional[str] = None,
268
+ folder_path: Optional[str] = None,
269
+ folder_key: Optional[str] = None,
270
+ ) -> None:
271
+ """Delete a bucket.
272
+
273
+ Args:
274
+ name: Bucket name
275
+ key: Bucket identifier (UUID)
276
+ folder_path: Folder path
277
+ folder_key: Folder key
278
+
279
+ Raises:
280
+ LookupError: If bucket is not found
281
+
282
+ Examples:
283
+ >>> sdk.buckets.delete(name="old-storage")
284
+ >>> sdk.buckets.delete(key="abc-123-def")
285
+ """
286
+ bucket = self.retrieve(
287
+ name=name, key=key, folder_key=folder_key, folder_path=folder_path
288
+ )
289
+
290
+ self.request(
291
+ "DELETE",
292
+ url=f"/orchestrator_/odata/Buckets({bucket.id})",
293
+ headers={**self.folder_headers},
294
+ )
295
+
296
+ @traced(name="buckets_delete", run_type="uipath")
297
+ @infer_bindings(resource_type="bucket")
298
+ async def delete_async(
299
+ self,
300
+ *,
301
+ name: Optional[str] = None,
302
+ key: Optional[str] = None,
303
+ folder_path: Optional[str] = None,
304
+ folder_key: Optional[str] = None,
305
+ ) -> None:
306
+ """Async version of delete()."""
307
+ bucket = await self.retrieve_async(
308
+ name=name, key=key, folder_key=folder_key, folder_path=folder_path
309
+ )
310
+
311
+ await self.request_async(
312
+ "DELETE",
313
+ url=f"/orchestrator_/odata/Buckets({bucket.id})",
314
+ headers={**self.folder_headers},
315
+ )
316
+
261
317
  @traced(name="buckets_download", run_type="uipath")
262
318
  @infer_bindings(resource_type="bucket")
263
319
  def download(
@@ -845,9 +901,116 @@ class BucketsService(FolderContext, BaseService):
845
901
  if not continuation_token:
846
902
  break
847
903
 
848
- @traced(name="buckets_delete", run_type="uipath")
904
+ @traced(name="buckets_exists_file", run_type="uipath")
849
905
  @infer_bindings(resource_type="bucket")
850
- def delete(
906
+ def exists_file(
907
+ self,
908
+ *,
909
+ name: Optional[str] = None,
910
+ key: Optional[str] = None,
911
+ blob_file_path: str,
912
+ folder_key: Optional[str] = None,
913
+ folder_path: Optional[str] = None,
914
+ ) -> bool:
915
+ """Check if a file exists in a bucket.
916
+
917
+ Args:
918
+ name: Bucket name
919
+ key: Bucket identifier
920
+ blob_file_path: Path to the file in the bucket (cannot be empty)
921
+ folder_key: Folder key
922
+ folder_path: Folder path
923
+
924
+ Returns:
925
+ bool: True if file exists, False otherwise
926
+
927
+ Note:
928
+ This method uses short-circuit iteration to stop at the first match,
929
+ making it memory-efficient even for large buckets. It will raise
930
+ LookupError if the bucket itself doesn't exist.
931
+
932
+ Raises:
933
+ ValueError: If blob_file_path is empty or whitespace-only
934
+ LookupError: If bucket is not found
935
+
936
+ Examples:
937
+ >>> if sdk.buckets.exists_file(name="my-storage", blob_file_path="data/file.csv"):
938
+ ... print("File exists")
939
+ >>> # Check in specific folder
940
+ >>> exists = sdk.buckets.exists_file(
941
+ ... name="my-storage",
942
+ ... blob_file_path="reports/2024/summary.pdf",
943
+ ... folder_path="Production"
944
+ ... )
945
+ """
946
+ if not blob_file_path or not blob_file_path.strip():
947
+ raise ValueError("blob_file_path cannot be empty or whitespace-only")
948
+
949
+ normalized_target = (
950
+ blob_file_path if blob_file_path.startswith("/") else f"/{blob_file_path}"
951
+ )
952
+ for file in self.list_files(
953
+ name=name,
954
+ key=key,
955
+ prefix=blob_file_path,
956
+ folder_key=folder_key,
957
+ folder_path=folder_path,
958
+ ):
959
+ if file.path == normalized_target:
960
+ return True
961
+ return False
962
+
963
+ @traced(name="buckets_exists_file", run_type="uipath")
964
+ @infer_bindings(resource_type="bucket")
965
+ async def exists_file_async(
966
+ self,
967
+ *,
968
+ name: Optional[str] = None,
969
+ key: Optional[str] = None,
970
+ blob_file_path: str,
971
+ folder_key: Optional[str] = None,
972
+ folder_path: Optional[str] = None,
973
+ ) -> bool:
974
+ """Async version of exists_file().
975
+
976
+ Args:
977
+ name: Bucket name
978
+ key: Bucket identifier
979
+ blob_file_path: Path to the file in the bucket (cannot be empty)
980
+ folder_key: Folder key
981
+ folder_path: Folder path
982
+
983
+ Returns:
984
+ bool: True if file exists, False otherwise
985
+
986
+ Raises:
987
+ ValueError: If blob_file_path is empty or whitespace-only
988
+ LookupError: If bucket is not found
989
+
990
+ Examples:
991
+ >>> if await sdk.buckets.exists_file_async(name="my-storage", blob_file_path="data/file.csv"):
992
+ ... print("File exists")
993
+ """
994
+ if not blob_file_path or not blob_file_path.strip():
995
+ raise ValueError("blob_file_path cannot be empty or whitespace-only")
996
+
997
+ normalized_target = (
998
+ blob_file_path if blob_file_path.startswith("/") else f"/{blob_file_path}"
999
+ )
1000
+ async for file in self.list_files_async(
1001
+ name=name,
1002
+ key=key,
1003
+ prefix=blob_file_path,
1004
+ folder_key=folder_key,
1005
+ folder_path=folder_path,
1006
+ ):
1007
+ if file.path == normalized_target:
1008
+ return True
1009
+ return False
1010
+
1011
+ @traced(name="buckets_delete_file", run_type="uipath")
1012
+ @infer_bindings(resource_type="bucket")
1013
+ def delete_file(
851
1014
  self,
852
1015
  *,
853
1016
  name: Optional[str] = None,
@@ -866,7 +1029,7 @@ class BucketsService(FolderContext, BaseService):
866
1029
  folder_path: Folder path
867
1030
 
868
1031
  Examples:
869
- >>> sdk.buckets.delete(name="my-storage", blob_file_path="data/file.txt")
1032
+ >>> sdk.buckets.delete_file(name="my-storage", blob_file_path="data/file.txt")
870
1033
  """
871
1034
  bucket = self.retrieve(
872
1035
  name=name, key=key, folder_key=folder_key, folder_path=folder_path
@@ -881,9 +1044,9 @@ class BucketsService(FolderContext, BaseService):
881
1044
  headers=spec.headers,
882
1045
  )
883
1046
 
884
- @traced(name="buckets_delete", run_type="uipath")
1047
+ @traced(name="buckets_delete_file", run_type="uipath")
885
1048
  @infer_bindings(resource_type="bucket")
886
- async def delete_async(
1049
+ async def delete_file_async(
887
1050
  self,
888
1051
  *,
889
1052
  name: Optional[str] = None,
@@ -902,7 +1065,7 @@ class BucketsService(FolderContext, BaseService):
902
1065
  folder_path: Folder path
903
1066
 
904
1067
  Examples:
905
- >>> await sdk.buckets.delete_async(name="my-storage", blob_file_path="data/file.txt")
1068
+ >>> await sdk.buckets.delete_file_async(name="my-storage", blob_file_path="data/file.txt")
906
1069
  """
907
1070
  bucket = await self.retrieve_async(
908
1071
  name=name, key=key, folder_key=folder_key, folder_path=folder_path
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath
3
- Version: 2.1.130
3
+ Version: 2.1.132
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
@@ -5,7 +5,7 @@ uipath/_folder_context.py,sha256=D-bgxdwpwJP4b_QdVKcPODYh15kMDrOar2xNonmMSm4,186
5
5
  uipath/_uipath.py,sha256=ycu11bjIUx5priRkB3xSRcilugHuSmfSN4Nq6Yz88gk,3702
6
6
  uipath/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  uipath/_cli/README.md,sha256=GLtCfbeIKZKNnGTCsfSVqRQ27V1btT1i2bSAyW_xZl4,474
8
- uipath/_cli/__init__.py,sha256=rEk5GEldWxhjfe7R4DiDDXsc6O4GMUX86CyuUDU4QCY,2471
8
+ uipath/_cli/__init__.py,sha256=rn9dkg7rs2XojW78EJBkEYCMeJoGIJm4aNzuCij5d38,3405
9
9
  uipath/_cli/cli_add.py,sha256=7XpyeXIVnocNTJg_Wo1GeDFSoHDu8ACaYx__eYpiXzY,3690
10
10
  uipath/_cli/cli_auth.py,sha256=CzetSRqSUvMs02PtI4w5Vi_0fv_ETA307bB2vXalWzY,2628
11
11
  uipath/_cli/cli_debug.py,sha256=6I3NutFahQ7nvbxUIgW8bmKeoShVf8RCvco3XU0kfTk,4796
@@ -31,7 +31,7 @@ uipath/_cli/_auth/_portal_service.py,sha256=fWnHGwd60Q_mrNEeENibqe5wv4ixp-yrG7X4
31
31
  uipath/_cli/_auth/_url_utils.py,sha256=G_tCA5AAwSnsJakpstwv18Q1ryvx1UG0PSYwOYv5Hj8,2768
32
32
  uipath/_cli/_auth/_utils.py,sha256=To4Ara_UF4g7nzUfKqFA11lTjhQWIZWNm4xwa5nNKmU,896
33
33
  uipath/_cli/_auth/auth_config_25_10.json,sha256=o8J5BBFwiEtjZLHpJ_64lvnTeYeRIHaJ-Bhg0QvcUX8,521
34
- uipath/_cli/_auth/auth_config_cloud.json,sha256=o8J5BBFwiEtjZLHpJ_64lvnTeYeRIHaJ-Bhg0QvcUX8,521
34
+ uipath/_cli/_auth/auth_config_cloud.json,sha256=8cggihn15_I-iug8ySxzmQDGOUo_Zo4GfnyZk5uBYF8,541
35
35
  uipath/_cli/_auth/index.html,sha256=uGK0CDTP8Rys_p4O_Pbd2x4tz0frKNVcumjrXnal5Nc,22814
36
36
  uipath/_cli/_auth/localhost.crt,sha256=oGl9oLLOiouHubAt39B4zEfylFvKEtbtr_43SIliXJc,1226
37
37
  uipath/_cli/_auth/localhost.key,sha256=X31VYXD8scZtmGA837dGX5l6G-LXHLo5ItWJhZXaz3c,1679
@@ -73,7 +73,7 @@ uipath/_cli/_evals/mocks/mockito_mocker.py,sha256=opwfELnvuh3krnPAg0MupkHTEmhCpQ
73
73
  uipath/_cli/_evals/mocks/mocks.py,sha256=IrvhtTtIuU5geopvCRglNhxKoOcChnnjQZMoYygx0PU,2225
74
74
  uipath/_cli/_push/models.py,sha256=K3k6QUMkiNIb3M4U0EgDlKz1UELxeMXLNVAj3qyhZ4U,470
75
75
  uipath/_cli/_push/sw_file_handler.py,sha256=5pf8koOcmypR5BktDuvbAvMgTYQamnWGT-rmR568TTY,41361
76
- uipath/_cli/_runtime/_contracts.py,sha256=sVHUww13iFsB7tDkbmD4ki41xd6nbAoJkoc9BLiXEh8,36352
76
+ uipath/_cli/_runtime/_contracts.py,sha256=n9KUEwHnhBPDbF4399bZCCd7t-CuLyeidj2z7kiCNhw,36464
77
77
  uipath/_cli/_runtime/_escalation.py,sha256=x3vI98qsfRA-fL_tNkRVTFXioM5Gv2w0GFcXJJ5eQtg,7981
78
78
  uipath/_cli/_runtime/_hitl.py,sha256=JAwTUKvxO4HpnZMwE4E0AegAPw_uYOwgt0OYcu6EvTg,11474
79
79
  uipath/_cli/_runtime/_logging.py,sha256=srjAi3Cy6g7b8WNHiYNjaZT4t40F3XRqquuoGd2kh4Y,14019
@@ -89,34 +89,45 @@ uipath/_cli/_templates/package.nuspec.template,sha256=YZyLc-u_EsmIoKf42JsLQ55OGe
89
89
  uipath/_cli/_utils/_common.py,sha256=LVI36jMFbF-6isAoyKmEDwOew-CAxZt2_kmJ-dO6NNA,4606
90
90
  uipath/_cli/_utils/_console.py,sha256=scvnrrFoFX6CE451K-PXKV7UN0DUkInbOtDZ5jAdPP0,10070
91
91
  uipath/_cli/_utils/_constants.py,sha256=AXeVidtHUFiODrkB2BCX_bqDL-bUzRg-Ieh1-2cCrGA,1374
92
+ uipath/_cli/_utils/_context.py,sha256=zAu8ZZfKmEJ3USHFLvuwBMmd8xG05PunkcIGHEdQoU8,1822
92
93
  uipath/_cli/_utils/_debug.py,sha256=zamzIR4VgbdKADAE4gbmjxDsbgF7wvdr7C5Dqp744Oc,1739
93
94
  uipath/_cli/_utils/_eval_set.py,sha256=QsAtF_K0sKTn_5lcOnhmWbTrGpmlFn0HV7wG3mSuASU,3771
94
95
  uipath/_cli/_utils/_folders.py,sha256=RsYrXzF0NA1sPxgBoLkLlUY3jDNLg1V-Y8j71Q8a8HY,1357
96
+ uipath/_cli/_utils/_formatters.py,sha256=AHIi5eMYEMz4HT5IOq_mqjGcv7CCDxL666UciULqFDY,4752
95
97
  uipath/_cli/_utils/_input_args.py,sha256=AnbQ12D2ACIQFt0QHMaWleRn1ZgRTXuTSTN0ozJiSQg,5766
96
98
  uipath/_cli/_utils/_parse_ast.py,sha256=24YL28qK5Ss2O26IlzZ2FgEC_ZazXld_u3vkj8zVxGA,20933
97
99
  uipath/_cli/_utils/_processes.py,sha256=q7DfEKHISDWf3pngci5za_z0Pbnf_shWiYEcTOTCiyk,1855
98
100
  uipath/_cli/_utils/_project_files.py,sha256=_Xbm4VPu2SoEemzwED5l75N930rPe6yPHi8BoeQXIy8,23868
99
101
  uipath/_cli/_utils/_resources.py,sha256=0MpEZWaY2oDDoxOVVTOXrTWpuwhQyypLcM8TgnXFQq0,577
102
+ uipath/_cli/_utils/_service_base.py,sha256=4i3Vp2bgPKvWOxBvXnOT9EeiIJx7LHJTxoKT97-P0BE,12045
103
+ uipath/_cli/_utils/_service_cli_generator.py,sha256=kvNBIdKG8_b9L7k-ie9lYw34yYLpcBuv5_DypsR-ozk,24971
104
+ uipath/_cli/_utils/_service_metadata.py,sha256=3vsmNYFo9wAduXo8v5A8j-WXTc26GxOdOv33224Pg34,7071
105
+ uipath/_cli/_utils/_service_protocol.py,sha256=A67mxts9HQJ51AkGBEnqv6THM24UxrW4Yu5rxEEReXI,6725
100
106
  uipath/_cli/_utils/_studio_project.py,sha256=kEjCFyP-pm9mVOR-C-makoZ_vbgQRHfu8kRZfRsJino,26308
101
107
  uipath/_cli/_utils/_tracing.py,sha256=2igb03j3EHjF_A406UhtCKkPfudVfFPjUq5tXUEG4oo,1541
108
+ uipath/_cli/_utils/_type_registry.py,sha256=rNBVGtzQdhl2DFtZ0-SyYGCRdzj9U5PnzeyV3X5Qw6M,3014
102
109
  uipath/_cli/_utils/_uv_helpers.py,sha256=6SvoLnZPoKIxW0sjMvD1-ENV_HOXDYzH34GjBqwT138,3450
110
+ uipath/_cli/_utils/_validators.py,sha256=Cyp3rL9vtVc9tpB7zE2fvQBMrAgvCizRO4bdun9-FKs,3101
103
111
  uipath/_cli/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
104
112
  uipath/_cli/models/runtime_schema.py,sha256=Po1SYFwTBlWZdmwIG2GvFy0WYbZnT5U1aGjfWcd8ZAA,2181
113
+ uipath/_cli/services/__init__.py,sha256=TwZ8HyMoctgDLC-Y6aqmpGH_HD48GsLao9B5LoRux5E,1045
114
+ uipath/_cli/services/_buckets_metadata.py,sha256=o0lXKvkfCvUDF2evG1zjRddqt1w0wqe523d4oSjVoSs,1427
115
+ uipath/_cli/services/cli_buckets.py,sha256=VMmKsr7e1SZ2sAwvMNvvb7ZRNlYxcTvWr1A1SMbsaGI,14782
105
116
  uipath/_events/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
106
117
  uipath/_events/_event_bus.py,sha256=4-VzstyX69cr7wT1EY7ywp-Ndyz2CyemD3Wk_-QmRpo,5496
107
118
  uipath/_events/_events.py,sha256=ShRoV_ARbJiDFFy0tHUQiC61V_CDzGhA6uCC9KpuUH4,4607
108
119
  uipath/_resources/AGENTS.md,sha256=nRQNAVeEBaBvuMzXw8uXtMnGebLClUgwIMlgb8_qU9o,1039
109
120
  uipath/_resources/CLAUDE.md,sha256=kYsckFWTVe948z_fNWLysCHvi9_YpchBXl3s1Ek03lU,10
110
- uipath/_resources/CLI_REFERENCE.md,sha256=PNVZINTXDSW4XN8QtxV3kS2WLreR7UyLfSso1_VXWBg,6758
121
+ uipath/_resources/CLI_REFERENCE.md,sha256=5SDeXJoTVyHs4LYqvPy35bXap1F3tb-lNzvoy3LG92A,17800
111
122
  uipath/_resources/REQUIRED_STRUCTURE.md,sha256=3laqGiNa3kauJ7jRI1d7w_fWKUDkqYBjcTT_6_8FAGk,1417
112
- uipath/_resources/SDK_REFERENCE.md,sha256=-KvQ6MFVVssuFfWEc6j05f0Uuexn8Kl84w-iQsZU5Po,27388
123
+ uipath/_resources/SDK_REFERENCE.md,sha256=yVPqCo-bqR5clqcwg9biHqkKlgYjoCOPjeUa3hmt3hQ,28158
113
124
  uipath/_services/__init__.py,sha256=_LNy4u--VlhVtTO66bULbCoBjyJBTuyh9jnzjWrv-h4,1140
114
125
  uipath/_services/_base_service.py,sha256=6yGNEZ-px6lVR9l4wiMr8NDSeLrZU6nmjUlRp3lMDi8,5665
115
126
  uipath/_services/actions_service.py,sha256=2RPMR-hFMsOlqEyjIf3aF7-lrf57jdrSD0pBjj0Kyko,16040
116
127
  uipath/_services/api_client.py,sha256=kGm04ijk9AOEQd2BMxvQg-2QoB8dmyoDwFFDPyutAGw,1966
117
128
  uipath/_services/assets_service.py,sha256=Z46_Nm4X7R0JcwF_Fph-5GwQ_qhQHRKJltCtwo3J8Yo,12090
118
129
  uipath/_services/attachments_service.py,sha256=NPQYK7CGjfBaNT_1S5vEAfODmOChTbQZforllFM2ofU,26678
119
- uipath/_services/buckets_service.py,sha256=FGWhJ3ewMEAahcSPY60wtFB0_qwAfaQAaAjqrC52VDk,44603
130
+ uipath/_services/buckets_service.py,sha256=AZtOhxkYZfSTIByd_v6N2-Y4RJUD-RKRVZMdVe0nO_E,49947
120
131
  uipath/_services/connections_service.py,sha256=SoOV8ZFn0AenhyodfqgO8oF7VmnWx9RdccCm0qosbxI,24059
121
132
  uipath/_services/context_grounding_service.py,sha256=Pjx-QQQEiSKD-hY6ityj3QUSALN3fIcKLLHr_NZ0d_g,37117
122
133
  uipath/_services/documents_service.py,sha256=2mPZzmOl2r5i8RYvdeRSJtEFWSSsiXqIauTgNTW75s4,45341
@@ -224,8 +235,8 @@ uipath/tracing/_utils.py,sha256=emsQRgYu-P1gj1q7XUPJD94mOa12JvhheRkuZJpLd9Y,1505
224
235
  uipath/utils/__init__.py,sha256=VD-KXFpF_oWexFg6zyiWMkxl2HM4hYJMIUDZ1UEtGx0,105
225
236
  uipath/utils/_endpoints_manager.py,sha256=tnF_FiCx8qI2XaJDQgYkMN_gl9V0VqNR1uX7iawuLp8,8230
226
237
  uipath/utils/dynamic_schema.py,sha256=ahgRLBWzuU0SQilaQVBJfBAVjimq3N3QJ1ztx0U_h2c,4943
227
- uipath-2.1.130.dist-info/METADATA,sha256=KY-PNf2igP8YbbseNbnLV7q1qNcsGE4AsO3CxwF0kVM,6626
228
- uipath-2.1.130.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
229
- uipath-2.1.130.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
230
- uipath-2.1.130.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
231
- uipath-2.1.130.dist-info/RECORD,,
238
+ uipath-2.1.132.dist-info/METADATA,sha256=8FYPPf1j2buYFFeGOD5x0pclG59w4lQaqTnl2Lr3TAk,6626
239
+ uipath-2.1.132.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
240
+ uipath-2.1.132.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
241
+ uipath-2.1.132.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
242
+ uipath-2.1.132.dist-info/RECORD,,