From 6c3f1a9b40338d32cd3113493442dd5372c82e06 Mon Sep 17 00:00:00 2001 From: polyaxon-ci Date: Tue, 26 Sep 2023 10:03:08 +0200 Subject: [PATCH] Add missing ui patterns --- haupt/haupt/apis/patterns.py | 6 ++++++ haupt/haupt/common/settings/core.py | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/haupt/haupt/apis/patterns.py b/haupt/haupt/apis/patterns.py index ed8304aac0..c3194fdba2 100644 --- a/haupt/haupt/apis/patterns.py +++ b/haupt/haupt/apis/patterns.py @@ -46,6 +46,12 @@ r"^{}/runs.*/?".format(projects_urls), r"^{}/jobs.*/?".format(projects_urls), r"^{}/services.*/?".format(projects_urls), + r"^{}/matrices.*/?".format(projects_urls), + r"^{}/dags.*/?".format(projects_urls), + r"^{}/schedules.*/?".format(projects_urls), + r"^{}/artifacts.*/?".format(projects_urls), + r"^{}/components.*/?".format(projects_urls), + r"^{}/models.*/?".format(projects_urls), r"^{}/cli.*/?".format(projects_urls), r"^{}/settings/?".format(projects_urls), r"^{}/new.*/?".format(projects_urls), diff --git a/haupt/haupt/common/settings/core.py b/haupt/haupt/common/settings/core.py index 10cbfbd4fd..1aba129f21 100644 --- a/haupt/haupt/common/settings/core.py +++ b/haupt/haupt/common/settings/core.py @@ -10,7 +10,9 @@ def set_core(context, config: PlatformConfig, use_db: bool = True): context["K8S_NAMESPACE"] = config.namespace context["FILE_UPLOAD_PERMISSIONS"] = 0o644 - context["MIN_ARTIFACTS_DELETION_TIMEDELTA"] = config.min_artifacts_deletion_timedelta + context[ + "MIN_ARTIFACTS_DELETION_TIMEDELTA" + ] = config.min_artifacts_deletion_timedelta context["TTL_HEARTBEAT"] = config.ttl_heartbeat context["WSGI_APPLICATION"] = "{}.wsgi.application".format(config.config_module)