Capsule.create_proxy

classmethod Capsule.create_proxy(obj)

Creates a proxy wrapping around an object, only if it’s not already proxied.