{"action":"closed","issue":{"url":"https://api.github.com/repos/rmk135/dependency_injector/issues/117","labels_url":"https://api.github.com/repos/rmk135/dependency_injector/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/rmk135/dependency_injector/issues/117/comments","events_url":"https://api.github.com/repos/rmk135/dependency_injector/issues/117/events","html_url":"https://github.com/rmk135/dependency_injector/issues/117","id":121760383,"number":117,"title":"Add validation of provided type for Factory provider","user":{"login":"rmk135","id":1742049,"avatar_url":"https://avatars.githubusercontent.com/u/1742049?v=3","gravatar_id":"","url":"https://api.github.com/users/rmk135","html_url":"https://github.com/rmk135","followers_url":"https://api.github.com/users/rmk135/followers","following_url":"https://api.github.com/users/rmk135/following{/other_user}","gists_url":"https://api.github.com/users/rmk135/gists{/gist_id}","starred_url":"https://api.github.com/users/rmk135/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmk135/subscriptions","organizations_url":"https://api.github.com/users/rmk135/orgs","repos_url":"https://api.github.com/users/rmk135/repos","events_url":"https://api.github.com/users/rmk135/events{/privacy}","received_events_url":"https://api.github.com/users/rmk135/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rmk135/dependency_injector/labels/feature","name":"feature","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"rmk135","id":1742049,"avatar_url":"https://avatars.githubusercontent.com/u/1742049?v=3","gravatar_id":"","url":"https://api.github.com/users/rmk135","html_url":"https://github.com/rmk135","followers_url":"https://api.github.com/users/rmk135/followers","following_url":"https://api.github.com/users/rmk135/following{/other_user}","gists_url":"https://api.github.com/users/rmk135/gists{/gist_id}","starred_url":"https://api.github.com/users/rmk135/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmk135/subscriptions","organizations_url":"https://api.github.com/users/rmk135/orgs","repos_url":"https://api.github.com/users/rmk135/repos","events_url":"https://api.github.com/users/rmk135/events{/privacy}","received_events_url":"https://api.github.com/users/rmk135/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-12-11T17:57:47Z","updated_at":"2015-12-13T21:33:12Z","closed_at":"2015-12-13T21:33:12Z","body":"Possible syntax:\r\n\r\n```python\r\nclass ServiceProvider(providers.Factory):\r\n    \"\"\"Service provider.\"\"\"\r\n\r\n    provided_type = BaseService\r\n    \"\"\"Provided type.\r\n\r\n    :type: type | None\r\n    \"\"\"\r\n```"}}