Unverified Commit dcad8ac7 authored by mohammedabdulwahhab's avatar mohammedabdulwahhab Committed by GitHub
Browse files

fix: make component type a simple string (#1144)


Co-authored-by: default avatarHannah Zhang <hannahz@nvidia.com>
parent 08c01d8c
...@@ -159,7 +159,7 @@ class LeaseConfig: ...@@ -159,7 +159,7 @@ class LeaseConfig:
ttl: int = 1 # seconds ttl: int = 1 # seconds
class ComponentType(str, Enum): class ComponentType:
"""Types of Dynamo components""" """Types of Dynamo components"""
PLANNER = "planner" PLANNER = "planner"
...@@ -173,9 +173,7 @@ class DynamoConfig: ...@@ -173,9 +173,7 @@ class DynamoConfig:
name: str | None = None name: str | None = None
namespace: str | None = None namespace: str | None = None
custom_lease: LeaseConfig | None = None custom_lease: LeaseConfig | None = None
component_type: ComponentType | None = ( component_type: str | None = None # Indicates if this is a meta/system component
None # Indicates if this is a meta/system component
)
class DeploymentTarget(ABC): class DeploymentTarget(ABC):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment