File tree 1 file changed +0
-7
lines changed
1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 18
18
19
19
from .api import AppDef , DeviceMount
20
20
21
- ENV_TORCHX_COMPONENT_ARGS = "TORCHX_COMPONENT_ARGS"
22
-
23
21
24
22
def _create_args_parser (
25
23
cmpnt_fn : Callable [..., AppDef ],
@@ -136,7 +134,6 @@ def materialize_appdef(
136
134
cmpnt_args : List [str ],
137
135
cmpnt_defaults : Optional [Dict [str , Any ]] = None ,
138
136
config : Optional [Dict [str , Any ]] = None ,
139
- component_args_string : Optional [str ] = None ,
140
137
) -> AppDef :
141
138
"""
142
139
Creates an application by running user defined ``app_fn``.
@@ -191,10 +188,6 @@ def materialize_appdef(
191
188
192
189
appdef = cmpnt_fn (* function_args , * var_arg , ** kwargs )
193
190
194
- if component_args_string :
195
- for role in appdef .roles :
196
- role .env [ENV_TORCHX_COMPONENT_ARGS ] = component_args_string
197
-
198
191
return appdef
199
192
200
193
You can’t perform that action at this time.
0 commit comments