Skip to content

Commit

Permalink
fix: questionpy mustn't depend on questionpy_sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
MHajoha committed Jan 7, 2025
1 parent 83222ec commit 8583ed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions questionpy/_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
from typing import TYPE_CHECKING

import jinja2

from questionpy_common.environment import Package, PackageNamespaceAndShortName, get_qpy_environment
from questionpy_sdk.constants import TEMPLATES_DIR

if TYPE_CHECKING:
from questionpy import Attempt, Question

TEMPLATES_DIR = "templates"


class _CustomPrefixLoader(jinja2.PrefixLoader):
"""In contrast to the :class:`jinja2.PrefixLoader` this splits at the second occurrence of the delimiter.
Expand Down

0 comments on commit 8583ed8

Please sign in to comment.