moo.sdk.recovery.soft_recycle

moo.sdk.recovery.soft_recycle(obj)

Soft-delete an object: hide it, but keep its id and inbound refs.

Refunds the owner’s quota immediately (so the builder can build again) and moves the object out of the world. Idempotent.

Parameters:

obj – the Object to recycle

Returns:

the recycled Object