invokeOptions are for invokes, resourceOptions are for resources.
We recently tightened up the Python runtime validation to error if the wrong one was passed in.
👍 1
s
strong-helmet-83704
09/28/2022, 7:13 AM
So a get_() type function i presume is considered an invoke and a resource creation is a resource?
e
echoing-dinner-19531
09/28/2022, 7:18 AM
Some gets are "resource reads" which take resource options, but yes a lot of get and lookup calls are invokes. The type signuatures for these should say which one they take.
e.g. LoadBalancer.get is a read which takes resource options, but get_load_balancer is an invoke that takes invoke options.