// This file is autogenerated, DO NOT EDIT
// ingest/processors/attachment.asciidoc:133

[source, python]
----
resp = client.ingest.put_pipeline(
    id="attachment",
    description="Extract attachment information",
    processors=[
        {
            "attachment": {
                "field": "data",
                "properties": [
                    "content",
                    "title"
                ],
                "remove_binary": True
            }
        }
    ],
)
print(resp)
----
