// This file is autogenerated, DO NOT EDIT
// ingest/range-enrich-policy-type-ex.asciidoc:91

[source, python]
----
resp = client.ingest.put_pipeline(
    id="networks_lookup",
    processors=[
        {
            "enrich": {
                "description": "Add 'network' data based on 'ip'",
                "policy_name": "networks-policy",
                "field": "ip",
                "target_field": "network",
                "max_matches": "10"
            }
        }
    ],
)
print(resp)
----
