Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 committed Nov 29, 2024
1 parent 4b54860 commit a2e5916
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions api/extensions/ext_storage.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
import logging
from collections.abc import Generator
from typing import TYPE_CHECKING, Union
from typing import Union

from flask import Flask

from configs import dify_config
from dify_app import DifyApp
from extensions.storage.base_storage import BaseStorage
from extensions.storage.storage_type import StorageType

if TYPE_CHECKING:
from dify_app import DifyApp


class Storage:
def __init__(self):
Expand Down Expand Up @@ -125,5 +123,5 @@ def delete(self, filename):
storage = Storage()


def init_app(app: "DifyApp"):
def init_app(app: DifyApp):
storage.init_app(app)

0 comments on commit a2e5916

Please sign in to comment.