mirror of
https://github.com/langgenius/dify.git
synced 2026-04-04 12:00:30 -04:00
15 lines
302 B
Python
15 lines
302 B
Python
from __future__ import annotations
|
|
|
|
from typing import TYPE_CHECKING
|
|
|
|
from flask import Flask
|
|
|
|
if TYPE_CHECKING:
|
|
from extensions.ext_login import DifyLoginManager
|
|
|
|
|
|
class DifyApp(Flask):
|
|
"""Flask application type with Dify-specific extension attributes."""
|
|
|
|
login_manager: DifyLoginManager
|