{"action":"created","issue":{"url":"https://api.github.com/repos/googleapis/dialogflow-python-client-v2/issues/90","repository_url":"https://api.github.com/repos/googleapis/dialogflow-python-client-v2","labels_url":"https://api.github.com/repos/googleapis/dialogflow-python-client-v2/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/googleapis/dialogflow-python-client-v2/issues/90/comments","events_url":"https://api.github.com/repos/googleapis/dialogflow-python-client-v2/issues/90/events","html_url":"https://github.com/googleapis/dialogflow-python-client-v2/issues/90","id":356248089,"node_id":"MDU6SXNzdWUzNTYyNDgwODk=","number":90,"title":"batch_update_entities works improperly","user":{"login":"AlexSissoko","id":28746088,"node_id":"MDQ6VXNlcjI4NzQ2MDg4","avatar_url":"https://avatars0.githubusercontent.com/u/28746088?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexSissoko","html_url":"https://github.com/AlexSissoko","followers_url":"https://api.github.com/users/AlexSissoko/followers","following_url":"https://api.github.com/users/AlexSissoko/following{/other_user}","gists_url":"https://api.github.com/users/AlexSissoko/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexSissoko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexSissoko/subscriptions","organizations_url":"https://api.github.com/users/AlexSissoko/orgs","repos_url":"https://api.github.com/users/AlexSissoko/repos","events_url":"https://api.github.com/users/AlexSissoko/events{/privacy}","received_events_url":"https://api.github.com/users/AlexSissoko/received_events","type":"User","site_admin":false},"labels":[{"id":1062713500,"node_id":"MDU6TGFiZWwxMDYyNzEzNTAw","url":"https://api.github.com/repos/googleapis/dialogflow-python-client-v2/labels/status:%20investigating","name":"status: investigating","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":{"login":"nnegrey","id":7898071,"node_id":"MDQ6VXNlcjc4OTgwNzE=","avatar_url":"https://avatars2.githubusercontent.com/u/7898071?v=4","gravatar_id":"","url":"https://api.github.com/users/nnegrey","html_url":"https://github.com/nnegrey","followers_url":"https://api.github.com/users/nnegrey/followers","following_url":"https://api.github.com/users/nnegrey/following{/other_user}","gists_url":"https://api.github.com/users/nnegrey/gists{/gist_id}","starred_url":"https://api.github.com/users/nnegrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnegrey/subscriptions","organizations_url":"https://api.github.com/users/nnegrey/orgs","repos_url":"https://api.github.com/users/nnegrey/repos","events_url":"https://api.github.com/users/nnegrey/events{/privacy}","received_events_url":"https://api.github.com/users/nnegrey/received_events","type":"User","site_admin":false},"assignees":[{"login":"nnegrey","id":7898071,"node_id":"MDQ6VXNlcjc4OTgwNzE=","avatar_url":"https://avatars2.githubusercontent.com/u/7898071?v=4","gravatar_id":"","url":"https://api.github.com/users/nnegrey","html_url":"https://github.com/nnegrey","followers_url":"https://api.github.com/users/nnegrey/followers","following_url":"https://api.github.com/users/nnegrey/following{/other_user}","gists_url":"https://api.github.com/users/nnegrey/gists{/gist_id}","starred_url":"https://api.github.com/users/nnegrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnegrey/subscriptions","organizations_url":"https://api.github.com/users/nnegrey/orgs","repos_url":"https://api.github.com/users/nnegrey/repos","events_url":"https://api.github.com/users/nnegrey/events{/privacy}","received_events_url":"https://api.github.com/users/nnegrey/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-09-02T02:49:06Z","updated_at":"2018-10-23T18:19:32Z","closed_at":"2018-10-23T17:16:19Z","author_association":"NONE","body":"Currently, batch_update_entities functions the same as batch_create_entities in that it just adds entities to the specified entity type.\r\nThe advertised functionality of batch_update_entities is that it **Updates entities in the specified entity type (replaces the existing collection of entries).**\r\nHowever, It currently just adds the specified entities to the agent as opposed to actually replacing them all."},"comment":{"url":"https://api.github.com/repos/googleapis/dialogflow-python-client-v2/issues/comments/432362132","html_url":"https://github.com/googleapis/dialogflow-python-client-v2/issues/90#issuecomment-432362132","issue_url":"https://api.github.com/repos/googleapis/dialogflow-python-client-v2/issues/90","id":432362132,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjM2MjEzMg==","user":{"login":"AlexSissoko","id":28746088,"node_id":"MDQ6VXNlcjI4NzQ2MDg4","avatar_url":"https://avatars0.githubusercontent.com/u/28746088?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexSissoko","html_url":"https://github.com/AlexSissoko","followers_url":"https://api.github.com/users/AlexSissoko/followers","following_url":"https://api.github.com/users/AlexSissoko/following{/other_user}","gists_url":"https://api.github.com/users/AlexSissoko/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexSissoko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexSissoko/subscriptions","organizations_url":"https://api.github.com/users/AlexSissoko/orgs","repos_url":"https://api.github.com/users/AlexSissoko/repos","events_url":"https://api.github.com/users/AlexSissoko/events{/privacy}","received_events_url":"https://api.github.com/users/AlexSissoko/received_events","type":"User","site_admin":false},"created_at":"2018-10-23T18:19:32Z","updated_at":"2018-10-23T18:19:32Z","author_association":"NONE","body":"@nnegrey Yeah, my bad with that and thanks for clearing it up.\r\nTo me, the docs are a bit opaque in that they fail to specify that it's only existing entities that have been also been changed in the update that will be replaced. I interpreted the **(replaces the existing collection of entries)** part as the collection of entities as opposed to the existing collection of synonyms for each entity."}}
{"actor":{"display_login":"AlexSissoko"}}