Skip to content

Commit

Permalink
chore: Remove jinja usage (#1225)
Browse files Browse the repository at this point in the history
  • Loading branch information
rouk1 authored Jan 24, 2025
1 parent b4a6bad commit 7a77c91
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions skore/src/skore/ui/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,9 @@

from pathlib import Path

from fastapi.templating import Jinja2Templates

__UI_MODULE_PATH = Path(__file__).resolve().parent


def get_templates():
"""Injectable template engine."""
return Jinja2Templates(directory=__UI_MODULE_PATH / "templates")


def get_static_path():
"""Injectable static path."""
return __UI_MODULE_PATH / "static"

0 comments on commit 7a77c91

Please sign in to comment.