Skip to content

Commit 18e0f96

Browse files
authored
add missing import (#1955)
1 parent 0006441 commit 18e0f96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/developer-guide/create-a-distribution.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ The above example registers a distribution that will configure a personal blog w
9090
When registering a distribution, you can provide a `pre_handler`, a `handler`, and a `post_handler`, each of which must be a function with their respective signature, as shown in the following example.
9191

9292
```python
93+
from plone.distribution.core import Distribution
94+
9395
def pre_handler(answers: dict) -> dict:
9496
return answers
9597

0 commit comments

Comments
 (0)