Skip to content

Commit

Permalink
client.get_contribution: don't return notebook field
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Oct 22, 2020
1 parent bdf50f5 commit 427012d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mpcontribs-client/mpcontribs/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ def get_contribution(self, cid):
fields = list(
self.swagger_spec.definitions.get("ContributionsSchema")._properties.keys()
) # don't return dynamic fields (card_*)
fields.remove("notebook")
return Dict(self.contributions.get_entry(pk=cid, _fields=fields).result())

def get_table(self, tid):
Expand Down

0 comments on commit 427012d

Please sign in to comment.