{"action":"created","issue":{"url":"https://api.github.com/repos/Workiva/furious/issues/162","labels_url":"https://api.github.com/repos/Workiva/furious/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/Workiva/furious/issues/162/comments","events_url":"https://api.github.com/repos/Workiva/furious/issues/162/events","html_url":"https://github.com/Workiva/furious/pull/162","id":55214147,"number":162,"title":"insert_tasks_ignore_duplicates - New _insert_tasks_ignore_duplicate_name...","user":{"login":"markshaule-wf","id":4356496,"avatar_url":"https://avatars.githubusercontent.com/u/4356496?v=3","gravatar_id":"","url":"https://api.github.com/users/markshaule-wf","html_url":"https://github.com/markshaule-wf","followers_url":"https://api.github.com/users/markshaule-wf/followers","following_url":"https://api.github.com/users/markshaule-wf/following{/other_user}","gists_url":"https://api.github.com/users/markshaule-wf/gists{/gist_id}","starred_url":"https://api.github.com/users/markshaule-wf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markshaule-wf/subscriptions","organizations_url":"https://api.github.com/users/markshaule-wf/orgs","repos_url":"https://api.github.com/users/markshaule-wf/repos","events_url":"https://api.github.com/users/markshaule-wf/events{/privacy}","received_events_url":"https://api.github.com/users/markshaule-wf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-22T21:52:14Z","updated_at":"2015-01-23T01:41:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Workiva/furious/pulls/162","html_url":"https://github.com/Workiva/furious/pull/162","diff_url":"https://github.com/Workiva/furious/pull/162.diff","patch_url":"https://github.com/Workiva/furious/pull/162.patch"},"body":"...s to gracefully handle DuplicateTaskNameError exceptions raised by inserts.\r\n\r\n@beaulyddon-wf @tannermiller-wf @robertkluin \r\n\r\nFYI: @erikpetersen-wf @jasonaguilon-wf @macleodbroad-wf \r\n\r\n1)  Let me know if you guys would prefer to just modify the existing _insert_tasks function, and add another option.\r\n2)  Should we add an options that just selects the _insert_tasks_ignore_duplicate_names automatically, which shields the implementation from the user.\r\n\r\nRight now a typical usage would be:\r\n```\r\n    with context.new(batch_size=100,\r\n                     insert_tasks=insert_tasks_ignore_duplicate_names) as ctx:\r\n      ctx.add(...) \r\n```"},"comment":{"url":"https://api.github.com/repos/Workiva/furious/issues/comments/71134319","html_url":"https://github.com/Workiva/furious/pull/162#issuecomment-71134319","issue_url":"https://api.github.com/repos/Workiva/furious/issues/162","id":71134319,"user":{"login":"macleodbroad-wf","id":1480524,"avatar_url":"https://avatars.githubusercontent.com/u/1480524?v=3","gravatar_id":"","url":"https://api.github.com/users/macleodbroad-wf","html_url":"https://github.com/macleodbroad-wf","followers_url":"https://api.github.com/users/macleodbroad-wf/followers","following_url":"https://api.github.com/users/macleodbroad-wf/following{/other_user}","gists_url":"https://api.github.com/users/macleodbroad-wf/gists{/gist_id}","starred_url":"https://api.github.com/users/macleodbroad-wf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macleodbroad-wf/subscriptions","organizations_url":"https://api.github.com/users/macleodbroad-wf/orgs","repos_url":"https://api.github.com/users/macleodbroad-wf/repos","events_url":"https://api.github.com/users/macleodbroad-wf/events{/privacy}","received_events_url":"https://api.github.com/users/macleodbroad-wf/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T01:41:30Z","updated_at":"2015-01-23T01:41:30Z","body":"+1"}}