We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96d1fb4 commit 6e9363aCopy full SHA for 6e9363a
tests/test_slide_layout.py
@@ -1,6 +1,8 @@
1
import datetime
2
from typing import Annotated, Any, ClassVar
3
4
+from typing_extensions import Doc
5
+
6
from tppt import Presentation
7
from tppt.template.default import DefaultTitleSlideLayout
8
from tppt.template.slide_layout import (
@@ -113,7 +115,7 @@ def test_non_placeholder_fields(self):
113
115
114
116
class MixedLayout(SlideLayout):
117
# Placeholder fields
- title: Placeholder[str]
118
+ title: Annotated[Placeholder[str], Doc("Title")]
119
subtitle: Placeholder[str | None] = None
120
121
# Regular fields (not placeholders)
0 commit comments