Apply suggestion from code review

This commit is contained in:
shamoon 2024-02-01 12:15:50 -08:00
parent 2df4eda88f
commit b093c269c7

View File

@ -726,7 +726,7 @@ class DocumentSerializer(
context.get("request").method == "PATCH"
or context.get("request").method == "PUT"
):
kwargs.__setitem__("full_perms", True)
kwargs["full_perms"] = True
super().__init__(*args, **kwargs)