Replies: 1 comment 2 replies
-
I don't know for sure. Can you check the MS Graph docs to see if it mentions something usefull? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In
drive.py
there is this method:My goal is to simply get back the
object_id
of the copied file. For this I need to call theget_item()
on the returnedCopyOperation
object. Checking its code I see that it only works if that object has theitem_id
which is set only in with sync operation. This will call the parent drive'sget_item
with that id.Otherwise there's some other
check_status
method which seems more of an async loop. Also the class has this comment as well:OneDrive/onedrive-api-docs#762
Does this mean that I can always expect the
item_id
to be existing and theasync
branch will never run? Do I need to prepare my code for this? Or can I just expect that themonitor_url
will have the id:Beta Was this translation helpful? Give feedback.
All reactions