Skip to content

Commit b880143

Browse files
committed
add log to data layer create object
1 parent ea2b90a commit b880143

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fastapi_jsonapi/data_layers/sqla_orm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ async def create_object(self, data_create: BaseJSONAPIItemInSchema, view_kwargs:
188188
:param view_kwargs: kwargs from the resource view.
189189
:return:
190190
"""
191+
log.debug("Create object with data %s", data_create)
191192
# todo: pydantic v2 model_dump()
192193
model_kwargs = data_create.attributes.dict()
193194
model_kwargs = self._apply_client_generated_id(data_create, model_kwargs=model_kwargs)

0 commit comments

Comments
 (0)