We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Receiving a TypeError: 'collections.OrderedDict' object is not callable error when accessing .inputs on an AttachmentAction.
TypeError: 'collections.OrderedDict' object is not callable
.inputs
AttachmentAction
In mixins/attachment_action.py, on line 73:
return self._json_data('inputs') should be return self._json_data.get('inputs')
return self._json_data('inputs')
return self._json_data.get('inputs')
The text was updated successfully, but these errors were encountered:
+1 ran into the same problem. Accessing the json dict directly works as a work-around
attachment = api.attachment_actions.get(attachment_id) inputs = attachment._json_data.get('inputs')
Sorry, something went wrong.
Thank you for catching and fixing the bug. 🙂 I will merge the PR.
Successfully merging a pull request may close this issue.
Receiving a
TypeError: 'collections.OrderedDict' object is not callable
error when accessing.inputs
on anAttachmentAction
.In mixins/attachment_action.py, on line 73:
return self._json_data('inputs')
should bereturn self._json_data.get('inputs')
The text was updated successfully, but these errors were encountered: