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

Sample code giving error #73

Open
amitgupta5888 opened this issue Aug 31, 2021 · 6 comments
Open

Sample code giving error #73

amitgupta5888 opened this issue Aug 31, 2021 · 6 comments
Assignees

Comments

@amitgupta5888
Copy link

amitgupta5888 commented Aug 31, 2021

I am trying to create a service queue using Python SDK in my Azure account.
While trying to run the file manage_topic.py (https://github.com/Azure-Samples/azure-samples-python-management/blob/master/samples/servicebus/manage_topic.py), I am getting below error:
Please suggest how I can fix the error and create a service bus queue using Python SDK

__servicebus_client = ServiceBusManagementClient( TypeError: __init__() got an unexpected keyword argument 'credential'__

@amitgupta5888
Copy link
Author

Please assist @msyyc @nickzhums @00Kai0

@msyyc msyyc self-assigned this Sep 1, 2021
@joelvasiliev
Copy link

I am having the same issue, if you find something to fix this, please comment here

@amitgupta5888
Copy link
Author

@amitgupta5888
Copy link
Author

although this article was just a workaround and its again giving another error -
AttributeError: 'CredentialWrapper' object has no attribute 'get_token'

@amitgupta5888
Copy link
Author

@msyyc Thanks for accepting this issue, can you please suggest how we can proceed

@msyyc
Copy link
Contributor

msyyc commented Sep 2, 2021

please make sure you follow the reamdme.md before run the example. I could run it successfully in local environment:
image

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

3 participants