From e4bef6769265a9b5d87486e34ac00f022ca9ce28 Mon Sep 17 00:00:00 2001 From: Alex Vinnik <33845028+alex-vinnik-sp@users.noreply.github.com> Date: Tue, 2 Apr 2024 10:11:22 -0500 Subject: [PATCH] fix: Dump repo_config by alias (#4063) dump-repo-config-alias Dump repo_config by alias Signed-off-by: Alex Vinnik --- .../contrib/bytewax/bytewax_materialization_engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/python/feast/infra/materialization/contrib/bytewax/bytewax_materialization_engine.py b/sdk/python/feast/infra/materialization/contrib/bytewax/bytewax_materialization_engine.py index 060a47ce58..d82e0920e2 100644 --- a/sdk/python/feast/infra/materialization/contrib/bytewax/bytewax_materialization_engine.py +++ b/sdk/python/feast/infra/materialization/contrib/bytewax/bytewax_materialization_engine.py @@ -309,7 +309,7 @@ def _create_kubernetes_job(self, job_id, paths, feature_view): def _create_configuration_map(self, job_id, paths, feature_view, namespace): """Create a Kubernetes configmap for this job""" - feature_store_configuration = yaml.dump(self.repo_config.dict()) + feature_store_configuration = yaml.dump(self.repo_config.dict(by_alias=True)) materialization_config = yaml.dump( {"paths": paths, "feature_view": feature_view.name}