From 1c463526f6d5f6234f8cfea5bc09839a1a5c85d8 Mon Sep 17 00:00:00 2001 From: polyaxon-ci Date: Wed, 1 Nov 2023 22:24:12 +0100 Subject: [PATCH] Fix run settings serializer --- haupt/haupt/apis/serializers/base/settings.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/haupt/haupt/apis/serializers/base/settings.py b/haupt/haupt/apis/serializers/base/settings.py index df6da885d8..221e30498f 100644 --- a/haupt/haupt/apis/serializers/base/settings.py +++ b/haupt/haupt/apis/serializers/base/settings.py @@ -82,14 +82,12 @@ def get_settings(self, obj): artifacts_store = None if hasattr(obj, "artifacts_store") and obj.artifacts_store: artifacts_store = {"name": obj.artifacts_store.name} - tensorboard = None if tensorboard: tensorboard = { "name": tensorboard.name, "status": tensorboard.status, "uuid": tensorboard.uuid.hex, } - build = None if build: build = { "name": build.name,