mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Revert "Merge pull request #2902 from alphagov/fix-imports"
This reverts commite00c0355b6, reversing changes made to832b589980.
This commit is contained in:
@@ -9,6 +9,7 @@ from werkzeug.utils import cached_property
|
|||||||
|
|
||||||
from app import db, redis_store
|
from app import db, redis_store
|
||||||
|
|
||||||
|
from app.dao import templates_dao
|
||||||
from app.dao.api_key_dao import get_model_api_keys
|
from app.dao.api_key_dao import get_model_api_keys
|
||||||
from app.dao.services_dao import dao_fetch_service_by_id
|
from app.dao.services_dao import dao_fetch_service_by_id
|
||||||
|
|
||||||
@@ -100,7 +101,6 @@ class SerialisedTemplate(SerialisedModel):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
@redis_cache.set('template-{template_id}-version-None')
|
@redis_cache.set('template-{template_id}-version-None')
|
||||||
def get_dict(template_id, service_id):
|
def get_dict(template_id, service_id):
|
||||||
from app.dao import templates_dao
|
|
||||||
from app.schemas import template_schema
|
from app.schemas import template_schema
|
||||||
|
|
||||||
fetched_template = templates_dao.dao_get_template_by_id_and_service_id(
|
fetched_template = templates_dao.dao_get_template_by_id_and_service_id(
|
||||||
|
|||||||
Reference in New Issue
Block a user