Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommendation to use REST API in Python #144

Open
hammad93 opened this issue Nov 16, 2023 · 1 comment
Open

Recommendation to use REST API in Python #144

hammad93 opened this issue Nov 16, 2023 · 1 comment
Assignees

Comments

@hammad93
Copy link

hammad93 commented Nov 16, 2023

With the necessity of installing multiple dependencies and then the overhead of managing and updating them, utilizing the REST API instead of the Python SDK has been easier. There are no dependencies as requests is bulit-in and there's no updates required. While I think the Python SDK is still necessary, I wanted to provide this perspective for developers to just use requests and make the REST API call is also a good solution.

It also looks like the samples have the sample JSON data structures that the REST API expects too.

@msyyc msyyc self-assigned this Nov 28, 2023
@msyyc
Copy link
Contributor

msyyc commented Nov 28, 2023

Comparing with REST API call with requests, Python SDK can provide other function (e.g. authentication/customized policy/unified exception/...). Each way has pros/cons, and developers can choose any way they like to use Azure service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants