mirror of https://github.com/langgenius/dify.git
try
This commit is contained in:
parent
33e0dae2b2
commit
4b9898692f
|
|
@ -110,10 +110,10 @@ class Storage:
|
|||
def load_stream(self, filename: str) -> Generator:
|
||||
return self.storage_runner.load_stream(filename)
|
||||
|
||||
def download(self, filename, target_filepath):
|
||||
def download(self, filename: str, target_filepath):
|
||||
self.storage_runner.download(filename, target_filepath)
|
||||
|
||||
def exists(self, filename):
|
||||
def exists(self, filename: str):
|
||||
return self.storage_runner.exists(filename)
|
||||
|
||||
def delete(self, filename: str):
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
project-includes = ["."]
|
||||
project-excludes = [
|
||||
"tests/",
|
||||
".venv",
|
||||
"migrations/",
|
||||
"core/rag",
|
||||
]
|
||||
python-platform = "linux"
|
||||
python-version = "3.11.0"
|
||||
|
|
|
|||
Loading…
Reference in New Issue