{"action":"created","issue":{"url":"https://api.github.com/repos/tableau/server-client-python/issues/46","repository_url":"https://api.github.com/repos/tableau/server-client-python","labels_url":"https://api.github.com/repos/tableau/server-client-python/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/tableau/server-client-python/issues/46/comments","events_url":"https://api.github.com/repos/tableau/server-client-python/issues/46/events","html_url":"https://github.com/tableau/server-client-python/pull/46","id":180104204,"number":46,"title":"Added decorators for checking values of input to property setters (Issue-38)","user":{"login":"LGraber","id":7854459,"avatar_url":"https://avatars.githubusercontent.com/u/7854459?v=3","gravatar_id":"","url":"https://api.github.com/users/LGraber","html_url":"https://github.com/LGraber","followers_url":"https://api.github.com/users/LGraber/followers","following_url":"https://api.github.com/users/LGraber/following{/other_user}","gists_url":"https://api.github.com/users/LGraber/gists{/gist_id}","starred_url":"https://api.github.com/users/LGraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LGraber/subscriptions","organizations_url":"https://api.github.com/users/LGraber/orgs","repos_url":"https://api.github.com/users/LGraber/repos","events_url":"https://api.github.com/users/LGraber/events{/privacy}","received_events_url":"https://api.github.com/users/LGraber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-29T16:51:31Z","updated_at":"2016-09-29T17:32:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tableau/server-client-python/pulls/46","html_url":"https://github.com/tableau/server-client-python/pull/46","diff_url":"https://github.com/tableau/server-client-python/pull/46.diff","patch_url":"https://github.com/tableau/server-client-python/pull/46.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/tableau/server-client-python/issues/comments/250536274","html_url":"https://github.com/tableau/server-client-python/pull/46#issuecomment-250536274","issue_url":"https://api.github.com/repos/tableau/server-client-python/issues/46","id":250536274,"user":{"login":"t8y8","id":4370533,"avatar_url":"https://avatars.githubusercontent.com/u/4370533?v=3","gravatar_id":"","url":"https://api.github.com/users/t8y8","html_url":"https://github.com/t8y8","followers_url":"https://api.github.com/users/t8y8/followers","following_url":"https://api.github.com/users/t8y8/following{/other_user}","gists_url":"https://api.github.com/users/t8y8/gists{/gist_id}","starred_url":"https://api.github.com/users/t8y8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t8y8/subscriptions","organizations_url":"https://api.github.com/users/t8y8/orgs","repos_url":"https://api.github.com/users/t8y8/repos","events_url":"https://api.github.com/users/t8y8/events{/privacy}","received_events_url":"https://api.github.com/users/t8y8/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T17:32:46Z","updated_at":"2016-09-29T17:32:46Z","body":"I prefer the decorator having a name that indicates it's intent and not the fact that it happens to be testing properties or is a decorator :) I'm not a stickler but it'll make it easier to understand down the road.\r\n\r\n@validate_schema or @validate_model or something like that feels much closer to what it does.\r\n\r\nThe second question is can we do a single decorator that takes in parameters on what it validates (Django Forms, I believe, is similar to this)\r\n\r\n@validate_model(enum=Auth, is_null=False)\r\n\r\nIt makes the decorator explosion a little more manageable.\r\n\r\n"}}
{"actor":{"display_login":"t8y8"}}