Git Product home page Git Product logo

Comments (5)

github-actions avatar github-actions commented on June 3, 2024

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @EldertGrootenboer.

from azure-sdk-for-python.

Binoyman avatar Binoyman commented on June 3, 2024

After Digging into it i realized the way expected was to refer to it using
import ServiceBusReceiveMode
and then
servicebus_client.get_queue_receiver(queue_name, receive_mode=ServiceBusReceiveMode.RECEIVE_AND_DELETE) .
But the Python Definition says the expected value for it is a String hence the confusion and the error at 'ServiceBusReceiveMode.RECEIVE_AND_DELETE'.
I hope we can update more clearly in the Documentation on the right way to change the mode.

from azure-sdk-for-python.

kashifkhan avatar kashifkhan commented on June 3, 2024

Thank you for the feedback @Binoyman. Ill update the file to include an example to set the receive mode and that should get the docs updated as well. In general our typing for enums allows for the enum or the value represented by that enum as valid input https://learn.microsoft.com/en-us/python/api/azure-servicebus/azure.servicebus.servicebusreceiver?view=azure-python

from azure-sdk-for-python.

github-actions avatar github-actions commented on June 3, 2024

Hi @Binoyman. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.

from azure-sdk-for-python.

github-actions avatar github-actions commented on June 3, 2024

Hi @Binoyman, since you haven’t asked that we /unresolve the issue, we’ll close this out. If you believe further discussion is needed, please add a comment /unresolve to reopen the issue.

from azure-sdk-for-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.