bump ver, some cleanup

This commit is contained in:
collerek
2020-11-16 13:10:03 +01:00
parent d478ea6e15
commit 1168159a70
4 changed files with 20 additions and 8 deletions

View File

@ -234,7 +234,7 @@ class Model(NewBaseModel):
@staticmethod
async def _update_and_follow(
rel: "Model", follow: bool, visited: Set, update_count: int
rel: T, follow: bool, visited: Set, update_count: int
) -> Tuple[int, Set]:
if follow and rel.__class__ not in visited:
update_count = await rel.save_related(