diff --git a/src/fmu/sumo/explorer/objects/_child.py b/src/fmu/sumo/explorer/objects/_child.py index 799b67cc..45f54b90 100644 --- a/src/fmu/sumo/explorer/objects/_child.py +++ b/src/fmu/sumo/explorer/objects/_child.py @@ -58,6 +58,11 @@ def format(self) -> str: """Object file format""" return self._get_property(["data", "format"]) + @property + def relative_path(self) -> str: + """Object relative file path""" + return self._get_property(["file", "relative_path"]) + @property def blob(self) -> BytesIO: """Object blob""" diff --git a/src/fmu/sumo/explorer/objects/_child_collection.py b/src/fmu/sumo/explorer/objects/_child_collection.py index a55caab0..d3402ff9 100644 --- a/src/fmu/sumo/explorer/objects/_child_collection.py +++ b/src/fmu/sumo/explorer/objects/_child_collection.py @@ -22,6 +22,7 @@ "_sumo.status", "access.asset", "masterdata.smda.field", + "file.relative_path", ]