diff --git a/sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md b/sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md index 5a535709da5f..ee7e163cb4d4 100644 --- a/sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md +++ b/sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md @@ -3,6 +3,12 @@ ------------------- +## 1.0.1 (Unreleased) + +### Fixes + +- Doc & Sample fixes + ## 1.0.0 (2020-01-06) ### Features diff --git a/sdk/appconfiguration/azure-appconfiguration/README.md b/sdk/appconfiguration/azure-appconfiguration/README.md index 1c663ad152a5..17de9f05b444 100644 --- a/sdk/appconfiguration/azure-appconfiguration/README.md +++ b/sdk/appconfiguration/azure-appconfiguration/README.md @@ -201,7 +201,7 @@ deleted_config_setting = client.delete_configuration_setting( ```python filtered_listed = client.list_configuration_settings( - labels=["*Labe*"], keys=["*Ke*"] + label_filter="My*", key_filter="My*" ) for item in filtered_listed: pass # do something @@ -234,7 +234,7 @@ To use list_configuration_settings, call it synchronously and iterate over the r ```python filtered_listed = async_client.list_configuration_settings( - labels=["*Labe*"], keys=["*Ke*"] + label_filter="My*", key_filter="My*" ) async for item in filtered_listed: pass # do something diff --git a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_azure_appconfiguration_client.py b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_azure_appconfiguration_client.py index e8a457ca9e65..f31a837189a2 100644 --- a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_azure_appconfiguration_client.py +++ b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_azure_appconfiguration_client.py @@ -183,7 +183,7 @@ def list_configuration_settings( pass # do something filtered_listed = client.list_configuration_settings( - label_filter="*Labe*", key_filter="*Ke*", accept_datetime=accept_datetime + label_filter="Labe*", key_filter="Ke*", accept_datetime=accept_datetime ) for item in filtered_listed: pass # do something @@ -473,7 +473,7 @@ def list_revisions( pass # do something filtered_revisions = client.list_revisions( - label_filter="*Labe*", key_filter="*Ke*", accept_datetime=accept_datetime + label_filter="Labe*", key_filter="Ke*", accept_datetime=accept_datetime ) for item in filtered_revisions: pass # do something diff --git a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_version.py b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_version.py index 8eedef9ba349..010063f9dd93 100644 --- a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_version.py +++ b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_version.py @@ -3,4 +3,4 @@ # Licensed under the MIT License. # ------------------------------------ -VERSION = "1.0.0" +VERSION = "1.0.1" diff --git a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/_azure_configuration_client_async.py b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/_azure_configuration_client_async.py index 937a9c034c70..258c9bc2cb9d 100644 --- a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/_azure_configuration_client_async.py +++ b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/_azure_configuration_client_async.py @@ -194,7 +194,7 @@ def list_configuration_settings( pass # do something filtered_listed = async_client.list_configuration_settings( - label_filter="*Labe*", key_filter="*Ke*", accept_datetime=accept_datetime + label_filter="Labe*", key_filter="Ke*", accept_datetime=accept_datetime ) async for item in filtered_listed: pass # do something @@ -491,7 +491,7 @@ def list_revisions( pass # do something filtered_revisions = async_client.list_revisions( - label_filter="*Labe*", key_filter="*Ke*", accept_datetime=accept_datetime + label_filter="Labe*", key_filter="Ke*", accept_datetime=accept_datetime ) async for item in filtered_revisions: pass # do something diff --git a/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_advanced_async_sample.py b/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_advanced_async_sample.py index f9806c42cdd1..df43e8640481 100644 --- a/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_advanced_async_sample.py +++ b/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_advanced_async_sample.py @@ -45,7 +45,7 @@ async def main(): print("") print("List configuration settings") - config_settings = client.list_configuration_settings(labels=["MyLabel"]) + config_settings = client.list_configuration_settings(label_filter="MyLabel") async for item in config_settings: print_configuration_setting(item) diff --git a/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_advanced_sample.py b/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_advanced_sample.py index a0623a900efc..246a7c47d019 100644 --- a/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_advanced_sample.py +++ b/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_advanced_sample.py @@ -43,7 +43,7 @@ def main(): print("") print("List configuration settings") - config_settings = client.list_configuration_settings(labels=["MyLabel"]) + config_settings = client.list_configuration_settings(label_filter="MyLabel") for item in config_settings: print_configuration_setting(item)