AttachmentsOperations#

class langsmith.schemas.AttachmentsOperations[source]#

Bases: BaseModel

Operations to perform on attachments.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

param rename: Dict[str, str] [Optional]#

Mapping of old attachment names to new names

param retain: List[str] [Optional]#

List of attachment names to keep