Closed godd9170 closed 7 years ago
Now that our request
class handles updates/creates/gets so easily, I think any multi step functions like this and put
are actually best left done up at the handler.py
level. It's much clearer that way, and will make the logs we want to do in #34 much easier.
I can see some application for a Salesforce-REST function that will 'get' and if it can't will 'create' an record. This is particularly useful in getting a usage type id.
It could potentially be a variant of the existing 'get' that will take a boolean parameter that creates and returns an Id rather than just None