update comment

This commit is contained in:
seehi 2024-08-14 16:07:24 +08:00
parent a7f0a387f7
commit 6be9e10175
3 changed files with 4 additions and 4 deletions

View file

@ -121,7 +121,7 @@ class SerializationMixin(BaseModel, extra="forbid"):
if class_type is None:
# TODO could try dynamic import
raise TypeError("Trying to instantiate {class_full_name}, which has not yet been defined!")
raise TypeError(f"Trying to instantiate {class_full_name}, which has not yet been defined!")
return class_type(**value)