diff --git a/application/database/db.py b/application/database/db.py index 807b249bb..bea63f3b1 100644 --- a/application/database/db.py +++ b/application/database/db.py @@ -1017,8 +1017,6 @@ def get_CREs( include_only: Optional[List[str]] = None, internal_id: Optional[str] = None, ) -> List[cre_defs.CRE]: - cres: List[cre_defs.CRE] = [] - query = CRE.query if not external_id and not name and not description and not internal_id: logger.error( "You need to search by external_id, internal_id name or description"