Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/bazarr/blame/commit/c4f5511915ad5c60c380d9ee8b2c0531bf2b6969/libs/flask_sqlalchemy/__init__.py You should set ROOT_URL correctly, otherwise the web may not work correctly.
bazarr/libs/flask_sqlalchemy/__init__.py

27 lines
653 B

from __future__ import annotations
import typing as t
from .extension import SQLAlchemy
__all__ = [
"SQLAlchemy",
]
def __getattr__(name: str) -> t.Any:
if name == "__version__":
import importlib.metadata
import warnings
warnings.warn(
"The '__version__' attribute is deprecated and will be removed in"
" Flask-SQLAlchemy 3.2. Use feature detection or"
" 'importlib.metadata.version(\"flask-sqlalchemy\")' instead.",
DeprecationWarning,
stacklevel=2,
)
return importlib.metadata.version("flask-sqlalchemy")
raise AttributeError(name)