{"action":"created","issue":{"url":"https://api.github.com/repos/alimanfoo/petl/issues/399","repository_url":"https://api.github.com/repos/alimanfoo/petl","labels_url":"https://api.github.com/repos/alimanfoo/petl/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/alimanfoo/petl/issues/399/comments","events_url":"https://api.github.com/repos/alimanfoo/petl/issues/399/events","html_url":"https://github.com/alimanfoo/petl/issues/399","id":192692059,"number":399,"title":"Allow validation on optional fields","user":{"login":"dusktreader","id":713676,"avatar_url":"https://avatars.githubusercontent.com/u/713676?v=3","gravatar_id":"","url":"https://api.github.com/users/dusktreader","html_url":"https://github.com/dusktreader","followers_url":"https://api.github.com/users/dusktreader/followers","following_url":"https://api.github.com/users/dusktreader/following{/other_user}","gists_url":"https://api.github.com/users/dusktreader/gists{/gist_id}","starred_url":"https://api.github.com/users/dusktreader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dusktreader/subscriptions","organizations_url":"https://api.github.com/users/dusktreader/orgs","repos_url":"https://api.github.com/users/dusktreader/repos","events_url":"https://api.github.com/users/dusktreader/events{/privacy}","received_events_url":"https://api.github.com/users/dusktreader/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/alimanfoo/petl/milestones/28","html_url":"https://github.com/alimanfoo/petl/milestone/28","labels_url":"https://api.github.com/repos/alimanfoo/petl/milestones/28/labels","id":1513637,"number":28,"title":"v1.2","description":"","creator":{"login":"alimanfoo","id":703554,"avatar_url":"https://avatars.githubusercontent.com/u/703554?v=3","gravatar_id":"","url":"https://api.github.com/users/alimanfoo","html_url":"https://github.com/alimanfoo","followers_url":"https://api.github.com/users/alimanfoo/followers","following_url":"https://api.github.com/users/alimanfoo/following{/other_user}","gists_url":"https://api.github.com/users/alimanfoo/gists{/gist_id}","starred_url":"https://api.github.com/users/alimanfoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alimanfoo/subscriptions","organizations_url":"https://api.github.com/users/alimanfoo/orgs","repos_url":"https://api.github.com/users/alimanfoo/repos","events_url":"https://api.github.com/users/alimanfoo/events{/privacy}","received_events_url":"https://api.github.com/users/alimanfoo/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":14,"state":"open","created_at":"2016-01-18T22:39:13Z","updated_at":"2016-12-21T07:15:56Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-11-30T22:00:18Z","updated_at":"2016-12-21T07:15:56Z","closed_at":"2016-12-21T07:15:56Z","body":"I have some optional fields in my table. I also have some validation constraints that I would like to apply to them if they are defined. Currently, if a field is not defined but a constraint is applied, the following exception is produced:\r\n`petl.errors.FieldSelectionError: selection is not a field or valid field index: 'digital_runtime'`\r\n\r\nI would like to be able to apply validation to a field if it exists and ignore the validation constraint if it does not"},"comment":{"url":"https://api.github.com/repos/alimanfoo/petl/issues/comments/268453595","html_url":"https://github.com/alimanfoo/petl/issues/399#issuecomment-268453595","issue_url":"https://api.github.com/repos/alimanfoo/petl/issues/399","id":268453595,"user":{"login":"alimanfoo","id":703554,"avatar_url":"https://avatars.githubusercontent.com/u/703554?v=3","gravatar_id":"","url":"https://api.github.com/users/alimanfoo","html_url":"https://github.com/alimanfoo","followers_url":"https://api.github.com/users/alimanfoo/followers","following_url":"https://api.github.com/users/alimanfoo/following{/other_user}","gists_url":"https://api.github.com/users/alimanfoo/gists{/gist_id}","starred_url":"https://api.github.com/users/alimanfoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alimanfoo/subscriptions","organizations_url":"https://api.github.com/users/alimanfoo/orgs","repos_url":"https://api.github.com/users/alimanfoo/repos","events_url":"https://api.github.com/users/alimanfoo/events{/privacy}","received_events_url":"https://api.github.com/users/alimanfoo/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T07:15:56Z","updated_at":"2016-12-21T07:15:56Z","body":"Thanks"}}
{"actor":{"display_login":"alimanfoo"}}