{"action":"created","issue":{"url":"https://api.github.com/repos/GetmeUK/MongoFrames/issues/7","repository_url":"https://api.github.com/repos/GetmeUK/MongoFrames","labels_url":"https://api.github.com/repos/GetmeUK/MongoFrames/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/GetmeUK/MongoFrames/issues/7/comments","events_url":"https://api.github.com/repos/GetmeUK/MongoFrames/issues/7/events","html_url":"https://github.com/GetmeUK/MongoFrames/issues/7","id":166744035,"number":7,"title":"frameless with check for defined fields","user":{"login":"njordr","id":4282925,"avatar_url":"https://avatars.githubusercontent.com/u/4282925?v=3","gravatar_id":"","url":"https://api.github.com/users/njordr","html_url":"https://github.com/njordr","followers_url":"https://api.github.com/users/njordr/followers","following_url":"https://api.github.com/users/njordr/following{/other_user}","gists_url":"https://api.github.com/users/njordr/gists{/gist_id}","starred_url":"https://api.github.com/users/njordr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njordr/subscriptions","organizations_url":"https://api.github.com/users/njordr/orgs","repos_url":"https://api.github.com/users/njordr/repos","events_url":"https://api.github.com/users/njordr/events{/privacy}","received_events_url":"https://api.github.com/users/njordr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-21T06:04:49Z","updated_at":"2016-07-21T10:01:57Z","closed_at":null,"body":"Hi.\r\n\r\nI've created a frameless class as stated here: http://mongoframes.com/snippets/frameless and it works like a charm :)\r\n\r\nWhat about to introduce a check for the defined fields?\r\n\r\nHere is an example of my frameless class:\r\n\r\n    class InfluxMetric(Frameless):\r\n        _collection = 'influxdb_metrics'\r\n        _fields = {\r\n            '_id',\r\n            'test'\r\n        }\r\n\r\nIs it possible to force the new class to fill-in at least the two defined fields (_id and test)?\r\n\r\nThanks,\r\nGiovanni"},"comment":{"url":"https://api.github.com/repos/GetmeUK/MongoFrames/issues/comments/234210712","html_url":"https://github.com/GetmeUK/MongoFrames/issues/7#issuecomment-234210712","issue_url":"https://api.github.com/repos/GetmeUK/MongoFrames/issues/7","id":234210712,"user":{"login":"anthonyjb","id":3046287,"avatar_url":"https://avatars.githubusercontent.com/u/3046287?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonyjb","html_url":"https://github.com/anthonyjb","followers_url":"https://api.github.com/users/anthonyjb/followers","following_url":"https://api.github.com/users/anthonyjb/following{/other_user}","gists_url":"https://api.github.com/users/anthonyjb/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyjb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyjb/subscriptions","organizations_url":"https://api.github.com/users/anthonyjb/orgs","repos_url":"https://api.github.com/users/anthonyjb/repos","events_url":"https://api.github.com/users/anthonyjb/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyjb/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T10:01:57Z","updated_at":"2016-07-21T10:01:57Z","body":"Hi @njordr - you could consider the data validation approach in this snippet here: http://mongoframes.com/snippets/data-validation. If you only want to check that fields have a value then the `save` method presented could be significantly reduced (e.g no need for form validation).\r\n\r\n"}}
{"actor":{"display_login":"anthonyjb"}}