-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
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
simple wrapper for tooling api requests #54
Conversation
This is pretty useful. Could you add |
Ok
|
@@ -202,6 +205,27 @@ def restful(self,path,params): | |||
return None | |||
else: | |||
return json_result | |||
|
|||
# Generic Tooling API Function | |||
def tooling(self,path,params): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add spaces between the arguments here?
This is super old, but would still be nice to get in if tests were added. |
can anyone with write access merge this branch with the master? The tooling function is a must have which is missing in the master. |
@nullglitch why is this function a must have? It's a convenience version of |
@nullglitch It looks like there are a few outstanding issues with this PR, if someone wants to address them then I can merge the PR. See @nickcatal's comments under "Files Changed", plus @bolaurent's error report. |
I had the same same question until I realized that there are certain things can only be updated using tooling API today. Eg: Global Picklist. |
I spent sometime this afternoon and added tooling API to the latest code. It works to get my job done. I also created a pull request, and hopefully, other people may find it useful too. |
Resolved by #445 |
simple copy of the restful() method with the tooling API path added for connivence.