File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/ai/backend/storage/services/artifacts Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -708,7 +708,7 @@ async def _import_models_batch(reporter: ProgressReporter) -> DispatchResult:
708708# Import Pipeline Steps
709709
710710
711- class HuggingFaceDownloadStep (ImportStep ):
711+ class HuggingFaceDownloadStep (ImportStep [ None ] ):
712712 """Step to download files from HuggingFace"""
713713
714714 def __init__ (self , registry_configs : dict [str , HuggingfaceConfig ]) -> None :
@@ -1010,7 +1010,7 @@ def create_huggingface_import_pipeline(
10101010 artifact_verifier_ctx : ArtifactVerifierContext ,
10111011) -> ImportPipeline :
10121012 """Create ImportPipeline for HuggingFace based on storage step mappings."""
1013- steps : list [ImportStep ] = []
1013+ steps : list [ImportStep [ Any ] ] = []
10141014
10151015 # Add steps based on what's present in storage_step_mappings
10161016 if ArtifactStorageImportStep .DOWNLOAD in storage_step_mappings :
Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ async def _import_models_batch(reporter: ProgressReporter) -> DispatchResult:
385385# Import Pipeline Steps
386386
387387
388- class ReservoirDownloadStep (ImportStep ):
388+ class ReservoirDownloadStep (ImportStep [ None ] ):
389389 """Step to copy files from Reservoir (effectively direct copy to download storage)"""
390390
391391 def __init__ (
@@ -955,7 +955,7 @@ def create_reservoir_import_pipeline(
955955 artifact_verifier_ctx : ArtifactVerifierContext ,
956956) -> ImportPipeline :
957957 """Create ImportPipeline for Reservoir based on storage step mappings."""
958- steps : list [ImportStep ] = []
958+ steps : list [ImportStep [ Any ] ] = []
959959
960960 # Add steps based on what's present in storage_step_mappings
961961 if ArtifactStorageImportStep .DOWNLOAD in storage_step_mappings :
You can’t perform that action at this time.
0 commit comments