msgraph-sdk-python-core
msgraph-sdk-python-core copied to clipboard
is msgraph-sdk deprecated or not?
Users are confused by the current status of sdk. it looks like (from public info), that msgraph-sdk is deprecrated, but still DOcumentation and tutorial exists about it on Microsoft learn. https://learn.microsoft.com/en-us/graph/tutorials/python?tabs=aad&tutorial-step=2
And then, we have this current package, msgraph-core, which is Still in preview => And people usually don't go on prod with non stable packages set in preview.
Hey @omonimus1
Apologies for the confusion. This package, msgraph-core was our initial effort to create a python SDK for Microsoft Graph. It was basically a wrapper around the requests library and handled cross cutting concerns such as authentication,redirects,retries and telemetry. Over time, we moved to an approach that favored autogenerated models corresponding to graph resources and request builders as opposed to request builders.
As such, this package is no longer meant to public use and only serves as a dependency for the full SDK which can be found here. I hope this makes things a bit more clear.
So this is now not for produxtion use and meant only as a dependency for the full SDK. The full SDK is listed as only a preview and not to be used in Production because there may be breaking changes.
What is the current Python solution that may be used in production?
Hello, this is a bit off topic. apologies
Here is what I am hoping to do. Write a python script that checks my OneDrive home edition for duplicate files. Is the python SDK going to be useful for this or am I misunderstanding its purpose?
I tried
https://graph.microsoft.com/v1.0/me/drive/root/search(q='finance')?select=name,id,webUrl example and it does some neat stuff. But I get it to find my duplicates in OneDrive?
Thanks,
V
thanks for reporting this issue, we have since released a new version of the SDK which this issue doesn't apply to. We encourage you to migrate to the new version and open a new issue if you still need help