It passes the result of get_object_object to the resource_db parameter to from_object. But this one actually expects a raw database object, not an already wrapped resource object.
It passes the result of get_object_object to the resource_db parameter to from_object. But this one actually expects a raw database object, not an already wrapped resource object.