{"action":"closed","issue":{"url":"https://api.github.com/repos/marshmallow-code/marshmallow/issues/246","labels_url":"https://api.github.com/repos/marshmallow-code/marshmallow/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/marshmallow-code/marshmallow/issues/246/comments","events_url":"https://api.github.com/repos/marshmallow-code/marshmallow/issues/246/events","html_url":"https://github.com/marshmallow-code/marshmallow/issues/246","id":96817740,"number":246,"title":"How do I add only to dump?","user":{"login":"Leo-g","id":3602061,"avatar_url":"https://avatars.githubusercontent.com/u/3602061?v=3","gravatar_id":"","url":"https://api.github.com/users/Leo-g","html_url":"https://github.com/Leo-g","followers_url":"https://api.github.com/users/Leo-g/followers","following_url":"https://api.github.com/users/Leo-g/following{/other_user}","gists_url":"https://api.github.com/users/Leo-g/gists{/gist_id}","starred_url":"https://api.github.com/users/Leo-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leo-g/subscriptions","organizations_url":"https://api.github.com/users/Leo-g/orgs","repos_url":"https://api.github.com/users/Leo-g/repos","events_url":"https://api.github.com/users/Leo-g/events{/privacy}","received_events_url":"https://api.github.com/users/Leo-g/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-23T13:43:25Z","updated_at":"2015-07-26T16:01:58Z","closed_at":"2015-07-26T16:01:58Z","body":"I have gone to the docs and saw that I can use the only attribute only when declaring the UserSchema(), but I have a requirement where I only want to dump a certain fields for one call and all fields for the other call, So how do I go about doing this? Do I need to declare another instance of the UserSchema?"}}