跳到主要内容

reconstruct

Reconstruct a content with a new body.

Parameters

body-name : str    default: "body"​

The property name of the body field.

labeled : bool    default: true​

Indicates whether the label of the content should be preserved.

named : bool    default: false​

Indicates whether to pass fields as named arguments.

it : content​

The content to reconstruct.

..new-body : content​

The new body you want to replace the old body with.

Returns: content