--- title: dict.insert() function description: > The `dict.insert()` function inserts a key value pair into a dictionary and returns a new, updated dictionary. If the key already exists in the dictionary, the function overwrites the existing value. menu: influxdb_cloud_ref: name: dict.insert parent: Dictionary weight: 301 --- {{< duplicate-oss >}}