Skip to content

Commit cc7618d

Browse files
committed
Add pandoc.typing
1 parent b108dcf commit cc7618d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

quartodoc/pandoc/typing.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
from __future__ import annotations
2+
3+
# NOTE:
4+
# beartype is a runtime type checker and cannot properly handle
5+
# type aliases defined using forward-references.
6+
# --
7+
# To avoid forward-references, these imported aliases are defined
8+
# in the respective modules outside any typing.TYPE_CHECKING conditions.
9+
# and when the objects they use have also been defined.
10+
# --
11+
# When using they they should be imported *outside* the
12+
# typing.TYPE_CHECKING condition
13+
from quartodoc.pandoc.blocks import BlockContent, DefinitionItem
14+
from quartodoc.pandoc.inlines import InlineContent

0 commit comments

Comments
 (0)