Skip to content

Commit

Permalink
fix bug with {}
Browse files Browse the repository at this point in the history
  • Loading branch information
nss10 committed Sep 26, 2024
1 parent a524171 commit 3a309c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mds/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ def add_filter(query):
import time

logger.info(
f" Current time stamp -- time.time() at the beginning of the gino call"
f" Current time stamp -- {time.time()} at the beginning of the gino call"
)
metadata_list = await add_filter(Metadata.query).gino.all()
logger.info(f" Current time stamp -- time.time() at the end of the gino call")
logger.info(f" Current time stamp -- {time.time()} at the end of the gino call")
return {metadata.guid: metadata.data for metadata in metadata_list}
else:
return [
Expand Down

0 comments on commit 3a309c1

Please sign in to comment.