{"action":"created","issue":{"url":"https://api.github.com/repos/tgalal/yowsup/issues/1035","labels_url":"https://api.github.com/repos/tgalal/yowsup/issues/1035/labels{/name}","comments_url":"https://api.github.com/repos/tgalal/yowsup/issues/1035/comments","events_url":"https://api.github.com/repos/tgalal/yowsup/issues/1035/events","html_url":"https://github.com/tgalal/yowsup/issues/1035","id":105711398,"number":1035,"title":"Warning about deprecated declaration","user":{"login":"eribertomota","id":6435502,"avatar_url":"https://avatars.githubusercontent.com/u/6435502?v=3","gravatar_id":"","url":"https://api.github.com/users/eribertomota","html_url":"https://github.com/eribertomota","followers_url":"https://api.github.com/users/eribertomota/followers","following_url":"https://api.github.com/users/eribertomota/following{/other_user}","gists_url":"https://api.github.com/users/eribertomota/gists{/gist_id}","starred_url":"https://api.github.com/users/eribertomota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eribertomota/subscriptions","organizations_url":"https://api.github.com/users/eribertomota/orgs","repos_url":"https://api.github.com/users/eribertomota/repos","events_url":"https://api.github.com/users/eribertomota/events{/privacy}","received_events_url":"https://api.github.com/users/eribertomota/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-10T00:55:55Z","updated_at":"2015-09-10T01:02:45Z","closed_at":null,"body":"Hi Tarek,\r\n\r\nI can see this warning since some releases ago.\r\n\r\nWARNING:yowsup.stacks.yowstack:Implicit declaration of parallel layers in a tuple is deprecated, pass a YowParallelLayer instead\r\n\r\nThanks!\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26573893-warning-about-deprecated-declaration?utm_campaign=plugin&utm_content=tracker%2F298781&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F298781&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/tgalal/yowsup/issues/comments/139083581","html_url":"https://github.com/tgalal/yowsup/issues/1035#issuecomment-139083581","issue_url":"https://api.github.com/repos/tgalal/yowsup/issues/1035","id":139083581,"user":{"login":"joaoricardo000","id":2717047,"avatar_url":"https://avatars.githubusercontent.com/u/2717047?v=3","gravatar_id":"","url":"https://api.github.com/users/joaoricardo000","html_url":"https://github.com/joaoricardo000","followers_url":"https://api.github.com/users/joaoricardo000/followers","following_url":"https://api.github.com/users/joaoricardo000/following{/other_user}","gists_url":"https://api.github.com/users/joaoricardo000/gists{/gist_id}","starred_url":"https://api.github.com/users/joaoricardo000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaoricardo000/subscriptions","organizations_url":"https://api.github.com/users/joaoricardo000/orgs","repos_url":"https://api.github.com/users/joaoricardo000/repos","events_url":"https://api.github.com/users/joaoricardo000/events{/privacy}","received_events_url":"https://api.github.com/users/joaoricardo000/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T01:02:45Z","updated_at":"2015-09-10T01:02:45Z","body":"Hi, \r\nWhen creating a YowStack, just replace the tuple of parallel layers with an YowParallelLayer object, that you create passing the tuple of layers.\r\nEx.:\r\n```\r\nfrom yowsup.layers import YowParallelLayer\r\nlayers = (RouteLayer,\r\n          YowParallelLayer([YowAuthenticationProtocolLayer,\r\n                            YowGroupsProtocolLayer,\r\n                            YowMessagesProtocolLayer,\r\n                            YowReceiptProtocolLayer,\r\n                            YowAckProtocolLayer,\r\n                            YowMediaProtocolLayer,\r\n                            YowIqProtocolLayer]),\r\n          YowAxolotlLayer,\r\n          ) + YOWSUP_CORE_LAYERS\r\nself.stack = YowStack(layers)\r\n,```"}}