We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying to delete tasks or notebooks, apiclient.py fails to assemble the correct API calls. This patch fixes the issue for me:
apiclient.py
diff --git a/apiclient.py b/apiclient.py index 6df234f..4ecc2bd 100755 --- a/apiclient.py +++ b/apiclient.py @@ -595,7 +595,7 @@ class ApiClient(object): ''' id_ = self.getNotebook(label).id self._notebooks_cache = None - return self._call(key=key, kind='notebooks', action='delete', id_=id_).text + return self._call(key=key, kind='notebooks', action='delete', notebooks=[id_]).text @check_api_key def editNotebook(self, label, key=None, **kwargs): @@ -674,7 +674,7 @@ class ApiClient(object): ''' id_ = self.getTask(label).id self._tasks_cache = None - return self._call(key=key, kind='tasks', action='delete', id_=id_).text + return self._call(key=key, kind='tasks', action='delete', tasks=[id_]).text @check_api_key def editTask(self, label, key=None, **kwargs):
The text was updated successfully, but these errors were encountered:
This is fixed with a545125. Thanks so much for the bug report and the patch!
Sorry, something went wrong.
No branches or pull requests
When trying to delete tasks or notebooks,
apiclient.py
fails to assemble the correct API calls. This patch fixes the issue for me:The text was updated successfully, but these errors were encountered: