File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -126,12 +126,15 @@ async def get_process_metadata(
126126 config : UploadFile = File (..., title = "Process Config" ),
127127 model_files : List [UploadFile ] = File (..., title = "Files" ),
128128 return_composite_state : bool = Query (default = True , title = "Return Composite State" ),
129- local_registry : bool = Query (default = True , title = "Whether to use the local registry. Please note that this must be true by default for now." ),
129+ # local_registry: bool = Query(default=True, title="Whether to use the local registry. Please note that this must be true by default for now."),
130130) -> ProcessMetadata :
131131 if not config .filename .endswith ('.json' ) and config .content_type != 'application/json' :
132132 raise HTTPException (status_code = 400 , detail = "Invalid file type. Only JSON files are supported." )
133133 try :
134134 from bsp import app_registrar
135+
136+ # TODO: implement this as a method param once new registries are established
137+ # assert local_registry, "You must use the local registry. Please note that this must be true by default for now."
135138 registry = app_registrar .core .process_registry
136139 process_constructor = registry .access (process_id )
137140 job_id = f'get-process-metadata-{ process_id } -' + str (uuid .uuid4 ())
You can’t perform that action at this time.
0 commit comments