From 5785cb9a7c33bc0f13e5c31f004c436c2003f583 Mon Sep 17 00:00:00 2001 From: Daniel Cauchi <33454325+CowKeyMan@users.noreply.github.com> Date: Wed, 15 Apr 2026 12:47:50 +0300 Subject: [PATCH 1/2] Fix return nested objects to resolve --- pcs/component.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pcs/component.py b/pcs/component.py index f7fb323..87bc831 100644 --- a/pcs/component.py +++ b/pcs/component.py @@ -1,6 +1,7 @@ from typing import Generic, TypeVar from omegaconf import DictConfig, OmegaConf +from omegaconf.basecontainer import BaseContainer from pcs.init import initialize_object_nones @@ -69,7 +70,10 @@ def __getattr__(self, name): conf: DictConfig = super().__getattribute__("conf") if name in conf.keys(): if name in conf: - return getattr(conf, name) + result = getattr(conf, name) + if isinstance(result, BaseContainer): + result = OmegaConf.to_object(result) + return result return None runtime: T = super().__getattribute__("runtime") if hasattr(runtime, name): From aeba2ed34de8c3d66286ee610547d6a53d50465c Mon Sep 17 00:00:00 2001 From: Daniel Cauchi <33454325+CowKeyMan@users.noreply.github.com> Date: Wed, 15 Apr 2026 12:48:34 +0300 Subject: [PATCH 2/2] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 253c8b1..baf1e2b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pipeline-component-system" -version = "0.5.0" +version = "0.5.1" authors = [ { name="Daniel Cauchi" }, ]