-
Notifications
You must be signed in to change notification settings - Fork 3.3k
App Configuration client.list_configuration_settings() unexpected keyword argument 'keys' #12775
Copy link
Copy link
Closed
Labels
App ConfigurationAzure.ApplicationModel.ConfigurationAzure.ApplicationModel.ConfigurationClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Description
-
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
App ConfigurationAzure.ApplicationModel.ConfigurationAzure.ApplicationModel.ConfigurationClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that