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 32bad0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion questionpy/_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
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 32bad0e

Please sign in to comment.