Adds a new method to APISession which makes it easier to create a resource only if one doesn't exist already, as a one-liner.
Bonus: adds the ability to use a resource dictionary in place of a URL / path (the client will look for a self key, which is an expected attribute of almost every resource).
Adds a new method to
APISession
which makes it easier to create a resource only if one doesn't exist already, as a one-liner.Bonus: adds the ability to use a resource dictionary in place of a URL / path (the client will look for a
self
key, which is an expected attribute of almost every resource).