diff --git a/mikeio/dataset/_dataset.py b/mikeio/dataset/_dataset.py index a55776616..49f452aad 100644 --- a/mikeio/dataset/_dataset.py +++ b/mikeio/dataset/_dataset.py @@ -561,7 +561,7 @@ def __set_or_insert_item(self, key, value, insert=False): self._data_vars[key] = value self._set_name_attr(key, value) - def insert(self, key: int, value: DataArray): + def insert(self, key, value: DataArray): """Insert DataArray in a specific position Parameters