We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd4ae1f commit df876afCopy full SHA for df876af
ramalama/file_upload/file_loader.py
@@ -1,6 +1,5 @@
1
import os
2
from string import Template
3
-from typing import Type
4
from warnings import warn
5
6
from ramalama.file_upload.file_types import base, txt
@@ -23,7 +22,7 @@ class BaseFileUploader:
23
22
This class should be extended by specific file type handlers.
24
"""
25
26
- def __init__(self, files: list[Type[base.BaseFileUpload]], delim_string: str = "<!--start_document $name-->"):
+ def __init__(self, files: list[base.BaseFileUpload], delim_string: str = "<!--start_document $name-->"):
27
self.files = files
28
self.document_delimiter: Template = Template(delim_string)
29
0 commit comments