uipath 2.0.62__py3-none-any.whl → 2.0.63__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.
- uipath/_services/attachments_service.py +6 -4
- {uipath-2.0.62.dist-info → uipath-2.0.63.dist-info}/METADATA +1 -1
- {uipath-2.0.62.dist-info → uipath-2.0.63.dist-info}/RECORD +6 -6
- {uipath-2.0.62.dist-info → uipath-2.0.63.dist-info}/WHEEL +0 -0
- {uipath-2.0.62.dist-info → uipath-2.0.63.dist-info}/entry_points.txt +0 -0
- {uipath-2.0.62.dist-info → uipath-2.0.63.dist-info}/licenses/LICENSE +0 -0
|
@@ -384,13 +384,14 @@ class AttachmentsService(FolderContext, BaseService):
|
|
|
384
384
|
if source_path:
|
|
385
385
|
# Upload from file
|
|
386
386
|
with open(source_path, "rb") as file:
|
|
387
|
+
file_content = file.read()
|
|
387
388
|
if result["BlobFileAccess"]["RequiresAuth"]:
|
|
388
389
|
self.request(
|
|
389
|
-
"PUT", upload_uri, headers=headers,
|
|
390
|
+
"PUT", upload_uri, headers=headers, content=file_content
|
|
390
391
|
)
|
|
391
392
|
else:
|
|
392
393
|
with httpx.Client() as client:
|
|
393
|
-
client.put(upload_uri, headers=headers,
|
|
394
|
+
client.put(upload_uri, headers=headers, content=file_content)
|
|
394
395
|
else:
|
|
395
396
|
# Upload from memory
|
|
396
397
|
# Convert string to bytes if needed
|
|
@@ -519,13 +520,14 @@ class AttachmentsService(FolderContext, BaseService):
|
|
|
519
520
|
if source_path:
|
|
520
521
|
# Upload from file
|
|
521
522
|
with open(source_path, "rb") as file:
|
|
523
|
+
file_content = file.read()
|
|
522
524
|
if result["BlobFileAccess"]["RequiresAuth"]:
|
|
523
525
|
await self.request_async(
|
|
524
|
-
"PUT", upload_uri, headers=headers,
|
|
526
|
+
"PUT", upload_uri, headers=headers, content=file_content
|
|
525
527
|
)
|
|
526
528
|
else:
|
|
527
529
|
with httpx.Client() as client:
|
|
528
|
-
client.put(upload_uri, headers=headers,
|
|
530
|
+
client.put(upload_uri, headers=headers, content=file_content)
|
|
529
531
|
else:
|
|
530
532
|
# Upload from memory
|
|
531
533
|
# Convert string to bytes if needed
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: uipath
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.63
|
|
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
|
|
@@ -45,7 +45,7 @@ uipath/_services/_base_service.py,sha256=y-QATIRF9JnUFKIwmjOWMHlE2BrJYgD8y4sGAve
|
|
|
45
45
|
uipath/_services/actions_service.py,sha256=LYKvG4VxNGQgZ46AzGK9kI1Txb-YmVvZj5ScPOue8Ls,15989
|
|
46
46
|
uipath/_services/api_client.py,sha256=hcof0EMa4-phEHD1WlO7Tdfzq6aL18Sbi2aBE7lJm1w,1821
|
|
47
47
|
uipath/_services/assets_service.py,sha256=acqWogfhZiSO1eeVYqFxmqWGSTmrW46QxI1J0bJe3jo,11918
|
|
48
|
-
uipath/_services/attachments_service.py,sha256=
|
|
48
|
+
uipath/_services/attachments_service.py,sha256=FwnagLtgpn_IpQMvo9uj5mmA_rlyTTiRd4IduB6FpaQ,26458
|
|
49
49
|
uipath/_services/buckets_service.py,sha256=Ikqt1Cgs_o2-2kuzcogcaBkNceSQDXLEe63kzkHzWqk,17374
|
|
50
50
|
uipath/_services/connections_service.py,sha256=qh-HNL_GJsyPUD0wSJZRF8ZdrTE9l4HrIilmXGK6dDk,4581
|
|
51
51
|
uipath/_services/context_grounding_service.py,sha256=zS991jW8C8CLkXvJwB2SuY3edTRG84SUOmiXpKId2Go,24381
|
|
@@ -87,8 +87,8 @@ uipath/tracing/__init__.py,sha256=GKRINyWdHVrDsI-8mrZDLdf0oey6GHGlNZTOADK-kgc,22
|
|
|
87
87
|
uipath/tracing/_otel_exporters.py,sha256=x0PDPmDKJcxashsuehVsSsqBCzRr6WsNFaq_3_HS5F0,3014
|
|
88
88
|
uipath/tracing/_traced.py,sha256=UL0TBqUexYb2PuUIY_am9l0TEeRGXFdxKEcDq5J-NXQ,16319
|
|
89
89
|
uipath/tracing/_utils.py,sha256=ZeensQexnw69jVcsVrGyED7mPlAU-L1agDGm6_1A3oc,10388
|
|
90
|
-
uipath-2.0.
|
|
91
|
-
uipath-2.0.
|
|
92
|
-
uipath-2.0.
|
|
93
|
-
uipath-2.0.
|
|
94
|
-
uipath-2.0.
|
|
90
|
+
uipath-2.0.63.dist-info/METADATA,sha256=5KVy_f28alxFsAHE2alkPSAa89ppEVaRm3ELkU9xV4c,6304
|
|
91
|
+
uipath-2.0.63.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
92
|
+
uipath-2.0.63.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
|
|
93
|
+
uipath-2.0.63.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
|
|
94
|
+
uipath-2.0.63.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|