Skip to content

Commit

Permalink
Do not require post_save to return None (#74)
Browse files Browse the repository at this point in the history
It can return any value, since it is ignored
  • Loading branch information
sobolevn authored Jun 17, 2024
1 parent 48c616a commit dc88487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_fakery/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
FieldMap = Dict[str, Any]
Lookup = Dict[str, Any]
SaveHooks = List[Callable[[T], None]]
LazySaveHooks = List[Callable[[models.Model], None]]
LazySaveHooks = List[Callable[[models.Model], Any]]
Built = Tuple[T, Dict[str, List[models.Model]]]
LazyBuilt = Tuple[models.Model, Dict[str, List[models.Model]]]

0 comments on commit dc88487

Please sign in to comment.