Skip to content

Commit df876af

Browse files
committed
type fix
Signed-off-by: Ian Eaves <[email protected]>
1 parent cd4ae1f commit df876af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ramalama/file_upload/file_loader.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import os
22
from string import Template
3-
from typing import Type
43
from warnings import warn
54

65
from ramalama.file_upload.file_types import base, txt
@@ -23,7 +22,7 @@ class BaseFileUploader:
2322
This class should be extended by specific file type handlers.
2423
"""
2524

26-
def __init__(self, files: list[Type[base.BaseFileUpload]], delim_string: str = "<!--start_document $name-->"):
25+
def __init__(self, files: list[base.BaseFileUpload], delim_string: str = "<!--start_document $name-->"):
2726
self.files = files
2827
self.document_delimiter: Template = Template(delim_string)
2928

0 commit comments

Comments
 (0)