Skip to content

Commit b0e2c03

Browse files
committed
better postprocessor description
1 parent 275c385 commit b0e2c03

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/django_idom/types.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,7 @@ class QueryOptions:
6363
"""Configuration values usable by the `postprocessor`."""
6464

6565
postprocessor: Callable[[_Data, QueryOptions], None] | None = None
66-
"""A post processing callable that can read/modify the `QueryOptions` object. If unset, the default fetch
67-
handler is used to prevent lazy loading of Django fields."""
66+
"""A post processing callable that can read/modify the query `data` and the `QueryOptions` object.
67+
68+
If unset, the default handler is used. This handler can be configured via `postprocessor_options`
69+
to recursively fetch all fields to ensure queries are not performed lazily."""

0 commit comments

Comments
 (0)