From d1b164959292f6ae230d094942187e5ac5378840 Mon Sep 17 00:00:00 2001 From: Jakub Miazek Date: Sat, 23 Apr 2022 13:02:53 +0200 Subject: [PATCH] python 3.7 fix --- the_app/models/stuff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/the_app/models/stuff.py b/the_app/models/stuff.py index a6d07ae..d29cfef 100644 --- a/the_app/models/stuff.py +++ b/the_app/models/stuff.py @@ -32,7 +32,7 @@ class Stuff(Base): if instance is None: raise HTTPException( status_code=status.HTTP_404_NOT_FOUND, - detail={"Not found": f"There is no record for requested: {name=}"}, + detail={"Not found": f"There is no record for name: {name}"}, ) else: return instance