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

update samples and readme #13999

Merged
merged 1 commit into from
Sep 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sdk/appconfiguration/azure-appconfiguration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,3 +303,7 @@ additional questions or comments.
[configuration_store]: https://azure.microsoft.com/services/app-configuration/
[default_cred_ref]: https://aka.ms/azsdk-python-identity-default-cred-ref
[azure_identity]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/identity/azure-identity
[cla]: https://cla.microsoft.com
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
[coc_contact]: mailto:[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async def main():
returned_config_setting.content_type = "new content type"
await client.set_configuration_setting(config_setting)

items = client.list_revisions(keys=["MyKey"])
items = client.list_revisions(key_filter="MyKey")
async for item in items:
print_configuration_setting(item)
print("")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def main():
returned_config_setting.content_type = "new content type"
client.set_configuration_setting(config_setting)

items = client.list_revisions(keys=["MyKey"])
items = client.list_revisions(key_filter="MyKey")
for item in items:
print_configuration_setting(item)
print("")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async def create_indexer():
# create a datasource
container = SearchIndexerDataContainer(name='searchcontainer')
data_source_connection = SearchIndexerDataSourceConnection(
name="indexer-datasource",
name="async-indexer-datasource",
type="azureblob",
connection_string=connection_string,
container=container
Expand Down