Abdeldjalil Hezouat

Results 4 comments of Abdeldjalil Hezouat

@waketzheng Actually it is a bug. The issue is the value of `self` is being set to the pydantic model itself. Your example works because you pass all needed attributes...

@collerek The method `construct` calls `_construct_relations`. So this will create the relations. There is a bug in `_construct_relations` but this can be fixed.

@blazing-gig I am waiting for pr #870 to be merged. After that I'll try to work on it. There are about 22 tests that are failing.

@denis240997 I think this is the expected behavior. The `pre_delete` signal is registered on `FileBaseModel`, not on `Equipment`.