Skip to content

Commit fc61bd8

Browse files
committed
ruff(format) : format file
1 parent 6a642cf commit fc61bd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastapi_crudrouter_mongodb/core/models/mongo_model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def _convert_list(self, list_to_convert: list):
7575
sub_value = sub_object[sub_field]
7676
if sub_value is not None:
7777
sub_object[sub_field] = (
78-
sub_value if type(sub_value) is not ObjectId else str(sub_value)
78+
sub_value if type(sub_value) is not ObjectId else str(sub_value)
7979
)
8080
new_list.append(sub_object)
8181
return new_list

0 commit comments

Comments
 (0)