{"action":"created","issue":{"url":"https://api.github.com/repos/pywinauto/pywinauto/issues/275","repository_url":"https://api.github.com/repos/pywinauto/pywinauto","labels_url":"https://api.github.com/repos/pywinauto/pywinauto/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/pywinauto/pywinauto/issues/275/comments","events_url":"https://api.github.com/repos/pywinauto/pywinauto/issues/275/events","html_url":"https://github.com/pywinauto/pywinauto/pull/275","id":196266945,"number":275,"title":"Handle 'parent' filter as WindowSpecification","user":{"login":"airelil","id":795040,"avatar_url":"https://avatars.githubusercontent.com/u/795040?v=3","gravatar_id":"","url":"https://api.github.com/users/airelil","html_url":"https://github.com/airelil","followers_url":"https://api.github.com/users/airelil/followers","following_url":"https://api.github.com/users/airelil/following{/other_user}","gists_url":"https://api.github.com/users/airelil/gists{/gist_id}","starred_url":"https://api.github.com/users/airelil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airelil/subscriptions","organizations_url":"https://api.github.com/users/airelil/orgs","repos_url":"https://api.github.com/users/airelil/repos","events_url":"https://api.github.com/users/airelil/events{/privacy}","received_events_url":"https://api.github.com/users/airelil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-18T09:38:55Z","updated_at":"2016-12-18T11:36:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pywinauto/pywinauto/pulls/275","html_url":"https://github.com/pywinauto/pywinauto/pull/275","diff_url":"https://github.com/pywinauto/pywinauto/pull/275.diff","patch_url":"https://github.com/pywinauto/pywinauto/pull/275.patch"},"body":"findwindows: handle 'parent' filter when it's passed as WindowSpecification\r\nbase_wrapper: fix passing through **kwargs for BaseWrapper.children() and BaseWrapper.descendants()\r\n\r\nThe fix should help for following example from the issue #256 when child_window gets 'parent' parameter as WindowSpecification:\r\n```\r\napp = pywinauto.Application(backend='uia')\r\nappconnect = app.connect(path='WpfApplication1.exe')\r\nappwindow = appconnect.window(title=\"WPF Sample Application\", control_type=\"Window\")\r\nsecondwindow = appwindow.child_window(title=\"Alpha\", control_type=\"ToolBar\")\r\nbutton = secondwindow.child_window(parent=secondwindow, title=\"button 1\", auto_id=\"toolbar_button1\", control_type=\"Button\")\r\nbutton.click_input()\r\n```"},"comment":{"url":"https://api.github.com/repos/pywinauto/pywinauto/issues/comments/267816437","html_url":"https://github.com/pywinauto/pywinauto/pull/275#issuecomment-267816437","issue_url":"https://api.github.com/repos/pywinauto/pywinauto/issues/275","id":267816437,"user":{"login":"codecov-io","id":8655789,"avatar_url":"https://avatars.githubusercontent.com/u/8655789?v=3","gravatar_id":"","url":"https://api.github.com/users/codecov-io","html_url":"https://github.com/codecov-io","followers_url":"https://api.github.com/users/codecov-io/followers","following_url":"https://api.github.com/users/codecov-io/following{/other_user}","gists_url":"https://api.github.com/users/codecov-io/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov-io/subscriptions","organizations_url":"https://api.github.com/users/codecov-io/orgs","repos_url":"https://api.github.com/users/codecov-io/repos","events_url":"https://api.github.com/users/codecov-io/events{/privacy}","received_events_url":"https://api.github.com/users/codecov-io/received_events","type":"User","site_admin":false},"created_at":"2016-12-18T11:36:52Z","updated_at":"2016-12-18T11:36:52Z","body":"## [Current coverage](https://codecov.io/gh/pywinauto/pywinauto/pull/275?src=pr) is 95.56% (diff: 100%)\n> Merging [#275](https://codecov.io/gh/pywinauto/pywinauto/pull/275?src=pr) into [master](https://codecov.io/gh/pywinauto/pywinauto/branch/master?src=pr) will decrease coverage by **<.01%**\n\n\n```diff\n@@             master       #275   diff @@\n==========================================\n  Files            49         49          \n  Lines         19490      19494     +4   \n  Methods           0          0          \n  Messages          0          0          \n  Branches          0          0          \n==========================================\n+ Hits          18627      18629     +2   \n- Misses          863        865     +2   \n  Partials          0          0          \n```\n\n> Powered by [Codecov](https://codecov.io?src=pr). Last update [bee8cad...328ef6b](https://codecov.io/gh/pywinauto/pywinauto/compare/bee8cadebc435b86914d5196467f7561502f641c...328ef6ba7f657cc5f81afa4ad4a3dca513821088?src=pr)"}}
{"actor":{"display_login":"codecov-io"}}