Skip to content

Commit

Permalink
remove un-used variables
Browse files Browse the repository at this point in the history
  • Loading branch information
john681611 committed Oct 18, 2023
1 parent 2c29faa commit 72bc3fc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions application/database/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 72bc3fc

Please sign in to comment.