Skip to content

Commit 29463a3

Browse files
PIM-7684: Fix async handle() signature to match sync version
The consolidation in 932ed19 made `objects` a required parameter in the async CloudDrive.handle() but optional in the sync version. This broke callers that use handle(path) for single-file reads. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 3dc4152 commit 29463a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cterasdk/asynchronous/core/files/browser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class FileBrowser(BaseCommand):
1212
"""Async File Browser API."""
1313

14-
async def handle(self, path, objects):
14+
async def handle(self, path, objects=None):
1515
"""
1616
Get a file handle.
1717

0 commit comments

Comments
 (0)