You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
exists_file and exists_file_async never find a file: fullPath has no leading slash #1957
ListFiles with the prefix /data.csv or data.csv does find the file, and reports fullPath as data.csv.
Seen with uipath-platform 0.2.32 on cloud.uipath.com. The code is unchanged in 0.2.41.
Expected
exists_file returns True when the bucket holds the file, with or without a leading / in blob_file_path. Comparing both paths without the leading / would do it, for example file.path.removeprefix("/") == blob_file_path.removeprefix("/").
Impact
Code that uploads a file only when it is missing overwrites the existing file every time. We work around it by listing the files ourselves (UiPath/vertical-solution-invoice-processing#2677).
Activity
fix(buckets): find files in exists_file when fullPath has no leading …