-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Based on the suggestion in #40, I've tried to create an upload session like this:
async def create_upload_session():
resp = await client.drives.by_drive_id('driveId').items.by_drive_item_id('root:/{item-path}:').create_upload_session().post()
asyncio.run(create_upload_session())
but I get this: TypeError: 'CreateUploadSessionRequestBuilder'
object is not callable
so I've changed it to:
upload_session = await client.drives.by_drive_id(rds_drive_id).items.by_drive_item_id(f"root:{destination_full_path}:").create_upload_session.post()
but then I get TypeError: body cannot be null.
Can you provide an example on how to properly create an upload session?
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation