{"action":"created","issue":{"url":"https://api.github.com/repos/pywbem/pywbem/issues/499","repository_url":"https://api.github.com/repos/pywbem/pywbem","labels_url":"https://api.github.com/repos/pywbem/pywbem/issues/499/labels{/name}","comments_url":"https://api.github.com/repos/pywbem/pywbem/issues/499/comments","events_url":"https://api.github.com/repos/pywbem/pywbem/issues/499/events","html_url":"https://github.com/pywbem/pywbem/pull/499","id":176054534,"number":499,"title":"[WIP] Fixes #466: Implements the enumerate generator methods","user":{"login":"KSchopmeyer","id":2340817,"avatar_url":"https://avatars.githubusercontent.com/u/2340817?v=3","gravatar_id":"","url":"https://api.github.com/users/KSchopmeyer","html_url":"https://github.com/KSchopmeyer","followers_url":"https://api.github.com/users/KSchopmeyer/followers","following_url":"https://api.github.com/users/KSchopmeyer/following{/other_user}","gists_url":"https://api.github.com/users/KSchopmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/KSchopmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KSchopmeyer/subscriptions","organizations_url":"https://api.github.com/users/KSchopmeyer/orgs","repos_url":"https://api.github.com/users/KSchopmeyer/repos","events_url":"https://api.github.com/users/KSchopmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/KSchopmeyer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pywbem/pywbem/labels/discussion%20needed","name":"discussion needed","color":"159818"},{"url":"https://api.github.com/repos/pywbem/pywbem/labels/review%20needed","name":"review needed","color":"159818"},{"url":"https://api.github.com/repos/pywbem/pywbem/labels/type:%20enhancement","name":"type: enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"KSchopmeyer","id":2340817,"avatar_url":"https://avatars.githubusercontent.com/u/2340817?v=3","gravatar_id":"","url":"https://api.github.com/users/KSchopmeyer","html_url":"https://github.com/KSchopmeyer","followers_url":"https://api.github.com/users/KSchopmeyer/followers","following_url":"https://api.github.com/users/KSchopmeyer/following{/other_user}","gists_url":"https://api.github.com/users/KSchopmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/KSchopmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KSchopmeyer/subscriptions","organizations_url":"https://api.github.com/users/KSchopmeyer/orgs","repos_url":"https://api.github.com/users/KSchopmeyer/repos","events_url":"https://api.github.com/users/KSchopmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/KSchopmeyer/received_events","type":"User","site_admin":false},"assignees":[{"login":"KSchopmeyer","id":2340817,"avatar_url":"https://avatars.githubusercontent.com/u/2340817?v=3","gravatar_id":"","url":"https://api.github.com/users/KSchopmeyer","html_url":"https://github.com/KSchopmeyer","followers_url":"https://api.github.com/users/KSchopmeyer/followers","following_url":"https://api.github.com/users/KSchopmeyer/following{/other_user}","gists_url":"https://api.github.com/users/KSchopmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/KSchopmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KSchopmeyer/subscriptions","organizations_url":"https://api.github.com/users/KSchopmeyer/orgs","repos_url":"https://api.github.com/users/KSchopmeyer/repos","events_url":"https://api.github.com/users/KSchopmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/KSchopmeyer/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/pywbem/pywbem/milestones/6","html_url":"https://github.com/pywbem/pywbem/milestones/0.10.0","labels_url":"https://api.github.com/repos/pywbem/pywbem/milestones/6/labels","id":1751956,"number":6,"title":"0.10.0","description":"","creator":{"login":"andy-maier","id":8939758,"avatar_url":"https://avatars.githubusercontent.com/u/8939758?v=3","gravatar_id":"","url":"https://api.github.com/users/andy-maier","html_url":"https://github.com/andy-maier","followers_url":"https://api.github.com/users/andy-maier/followers","following_url":"https://api.github.com/users/andy-maier/following{/other_user}","gists_url":"https://api.github.com/users/andy-maier/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-maier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-maier/subscriptions","organizations_url":"https://api.github.com/users/andy-maier/orgs","repos_url":"https://api.github.com/users/andy-maier/repos","events_url":"https://api.github.com/users/andy-maier/events{/privacy}","received_events_url":"https://api.github.com/users/andy-maier/received_events","type":"User","site_admin":false},"open_issues":68,"closed_issues":50,"state":"open","created_at":"2016-05-06T16:25:22Z","updated_at":"2016-10-07T14:19:27Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2016-09-09T16:42:24Z","updated_at":"2016-10-19T15:55:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pywbem/pywbem/pulls/499","html_url":"https://github.com/pywbem/pywbem/pull/499","diff_url":"https://github.com/pywbem/pywbem/pull/499.diff","patch_url":"https://github.com/pywbem/pywbem/pull/499.patch"},"body":"STATUS: WIP for review: This version only implements the EnumerateInstances generator. If we agree on this as a pattern we can implement the others since they should all be about the same.  Fixed latest coments except the one where we disagree (Does the code work so that if the user sets True on use_pull_operations it will only try to use the pull operations and will fail if they fail or do not exist?) See code snippet in last comment\r\n\r\nNote that the only test of the generator is a sample program in examples right now.  The example does execute but is incomplete.\r\n\r\nImplements the method to provide an EnumeratIIstances generator that\r\nwill use either theOpen/Pull operations or the EnumerateInstances operation\r\nto enumerate instances.\r\n\r\nThis is currently a WIP as it only implements the one method.\r\n\r\nKnown Questions:\r\n\r\n1. The exact python type for the iterator return from the function for the docstring This is what we return.  This is only to put a more specific reference that iterator on the return statement in the doc string.\r\n\r\n2. One of the inefficiencies of this is that for every connection we go through the pull dance first try pull and then if pull fails, non-pull. For scripts, where there is just one connection, this is not a real problem. However,  it does assume that the user makes a WBEMConnection with a WEBServer and keeps using it. Not solution. This is just a note for now."},"comment":{"url":"https://api.github.com/repos/pywbem/pywbem/issues/comments/254856675","html_url":"https://github.com/pywbem/pywbem/pull/499#issuecomment-254856675","issue_url":"https://api.github.com/repos/pywbem/pywbem/issues/499","id":254856675,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T15:55:06Z","updated_at":"2016-10-19T15:55:06Z","body":"\n[![Coverage Status](https://coveralls.io/builds/8412866/badge)](https://coveralls.io/builds/8412866)\n\nCoverage decreased (-0.8%) to 62.504% when pulling **07c8d4ca8300c6781f6821f0318e66d8daa9d4c2 on issue#466-enum-pull** into **c074fa07b14a5317363d15c2a053e1be622b552d on master**.\n"}}
{"actor":{"display_login":"coveralls"}}