Skip to content

Commit

Permalink
Merge pull request #135 from uclahs-cds/aholmes-fix-scaffold-type-error
Browse files Browse the repository at this point in the history
Fix mistaken generic type specification in scaffolder template.
  • Loading branch information
aholmes authored Oct 15, 2024
2 parents cc4a900 + 0d29442 commit 1676f6b
Showing 1 changed file with 1 addition and 3 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 @@ -21,9 +20,8 @@ def create_app():
{% endif %}

# 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 1676f6b

Please sign in to comment.