@@ -1979,15 +1979,13 @@ def create_stack_component(
1979
1979
flavor : str ,
1980
1980
component_type : StackComponentType ,
1981
1981
configuration : Dict [str , str ],
1982
- component_spec_path : Optional [str ] = None ,
1983
1982
labels : Optional [Dict [str , Any ]] = None ,
1984
1983
) -> "ComponentResponse" :
1985
1984
"""Registers a stack component.
1986
1985
1987
1986
Args:
1988
1987
name: The name of the stack component.
1989
1988
flavor: The flavor of the stack component.
1990
- component_spec_path: The path to the stack spec file.
1991
1989
component_type: The type of the stack component.
1992
1990
configuration: The configuration of the stack component.
1993
1991
labels: The labels of the stack component.
@@ -2016,7 +2014,6 @@ def create_stack_component(
2016
2014
name = name ,
2017
2015
type = component_type ,
2018
2016
flavor = flavor ,
2019
- component_spec_path = component_spec_path ,
2020
2017
configuration = configuration ,
2021
2018
user = self .active_user .id ,
2022
2019
workspace = self .active_workspace .id ,
@@ -2033,7 +2030,6 @@ def update_stack_component(
2033
2030
name_id_or_prefix : Optional [Union [UUID , str ]],
2034
2031
component_type : StackComponentType ,
2035
2032
name : Optional [str ] = None ,
2036
- component_spec_path : Optional [str ] = None ,
2037
2033
configuration : Optional [Dict [str , Any ]] = None ,
2038
2034
labels : Optional [Dict [str , Any ]] = None ,
2039
2035
disconnect : Optional [bool ] = None ,
@@ -2047,7 +2043,6 @@ def update_stack_component(
2047
2043
update.
2048
2044
component_type: The type of the stack component to update.
2049
2045
name: The new name of the stack component.
2050
- component_spec_path: The new path to the stack spec file.
2051
2046
configuration: The new configuration of the stack component.
2052
2047
labels: The new labels of the stack component.
2053
2048
disconnect: Whether to disconnect the stack component from its
@@ -2072,7 +2067,6 @@ def update_stack_component(
2072
2067
update_model = ComponentUpdate (
2073
2068
workspace = self .active_workspace .id ,
2074
2069
user = self .active_user .id ,
2075
- component_spec_path = component_spec_path ,
2076
2070
)
2077
2071
2078
2072
if name is not None :
0 commit comments