Skip to content

Commit e33b760

Browse files
committed
Set access_layer_language to IMAS-Python on put()
`access_layer_language` used to be set to `imaspy {version}`, which got renamed to the non-specific `imas {version}`. This commit updates it to `IMAS-Python {version}` to be clear which HLI the IDS was put with.
1 parent 2d26092 commit e33b760

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

imas/db_entry.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# This file is part of IMAS-Python.
22
# You should have received the IMAS-Python LICENSE file with this project.
3-
"""Logic for interacting with IMAS Data Entries.
4-
"""
3+
"""Logic for interacting with IMAS Data Entries."""
54

65
import logging
76
import os
@@ -734,7 +733,7 @@ def _put(self, ids: IDSToplevel, occurrence: int, is_slice: bool):
734733
version_put = ids.ids_properties.version_put
735734
version_put.data_dictionary = self._ids_factory._version
736735
version_put.access_layer = self._dbe_impl.access_layer_version()
737-
version_put.access_layer_language = f"imas {imas.__version__}"
736+
version_put.access_layer_language = f"IMAS-Python {imas.__version__}"
738737

739738
self._dbe_impl.put(ids, occurrence, is_slice)
740739

0 commit comments

Comments
 (0)