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

App Configuration client.list_configuration_settings() unexpected keyword argument 'keys' #12775

Closed
yangsiyu007 opened this issue Jul 29, 2020 · 2 comments
Assignees
Labels
App Configuration Azure.ApplicationModel.Configuration Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone

Comments

@yangsiyu007
Copy link

  • Package Name:
    azure.appconfiguration

  • Package Version:
    1.0.0

  • Operating System:
    Mac

  • Python Version:
    3.6.10

Describe the bug
Following the example for listing configuration settings (https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/appconfiguration/azure-appconfiguration#list-configuration-settings), the for-each loop gives the error

TypeError: request() got an unexpected keyword argument 'labels'

suggesting that it cannot be iterated as shown.

To Reproduce

# set up client
client = AzureAppConfigurationClient.from_connection_string(connection_str)

# example given in the documentation
filtered_listed = client.list_configuration_settings(
    labels=["*Labe*"], keys=["*Ke*"]
)
for item in filtered_listed:
    pass

Expected behavior
Be able to run through the for-each loop without erroring. Please show a working example of how this iterator should be used.

@ghost ghost added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jul 29, 2020
@lmazuel lmazuel added App Configuration Azure.ApplicationModel.Configuration Client This issue points to a problem in the data-plane of the library. labels Jul 29, 2020
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jul 29, 2020
@lmazuel lmazuel added the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Jul 29, 2020
@xiangyan99
Copy link
Member

Thanks for reporting the issue.

We have a fix for it and it will be available in next release.

@xiangyan99 xiangyan99 added this to the [2020] August milestone Jul 30, 2020
@xiangyan99
Copy link
Member

Fixed in #12784

@lmazuel lmazuel closed this as completed Jul 30, 2020
@AlexGhiondea AlexGhiondea removed the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Aug 3, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
App Configuration Azure.ApplicationModel.Configuration Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

4 participants