Skip to content

Commit

Permalink
Fix regression with restart/clone APIs returning types for runtime in…
Browse files Browse the repository at this point in the history
…stead of values, which breaks the client
  • Loading branch information
polyaxon-ci committed Jul 16, 2024
1 parent cc7ac5c commit 0d0654e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions haupt/haupt/orchestration/operations/service.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from collections import namedtuple
from typing import Dict, List, Optional, Set, Tuple, Union

from clipped.utils.enums import get_enum_value
from clipped.utils.lists import to_list

from haupt.common.service_interface import Service
Expand Down Expand Up @@ -299,8 +300,8 @@ def init_run(
readme=readme,
params=params,
inputs=inputs,
kind=kind,
runtime=runtime,
kind=get_enum_value(kind),
runtime=get_enum_value(runtime),
meta_info=meta_info,
original_id=original_id,
cloning_kind=cloning_kind,
Expand Down

0 comments on commit 0d0654e

Please sign in to comment.