Skip to content

Commit

Permalink
Fix mistaken generic type specification in scaffolder template.
Browse files Browse the repository at this point in the history
  • Loading branch information
aholmes committed Oct 14, 2024
1 parent cc4a900 commit 1a3ac49
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ from sqlalchemy import MetaData
from sqlalchemy.orm import Session
from {{application.module_name}}.modules.database import Base
{% endif %}
from flask import Flask
from Ligare.web.config import Config
from Ligare.web.application import ApplicationBuilder

Expand All @@ -23,7 +22,7 @@ def create_app():
# fmt: off
from Ligare.web.application import App
application_builder = (
ApplicationBuilder[Flask]()
ApplicationBuilder[AppType]()
{% if 'database' in module %}
.with_module(ScopedSessionModule())
{% endif %}
Expand Down

0 comments on commit 1a3ac49

Please sign in to comment.