From 9e7dbda582295ffc5d35fb9c647f05880246088f Mon Sep 17 00:00:00 2001 From: Alex Vinnik Date: Mon, 1 Apr 2024 20:20:43 -0500 Subject: [PATCH] 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 060a47ce585..d82e0920e25 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}