notionary 0.2.4__py3-none-any.whl → 0.2.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- notionary/elements/code_block_element.py +0 -8
- notionary/page/content/page_content_retriever.py +1 -0
- {notionary-0.2.4.dist-info → notionary-0.2.5.dist-info}/METADATA +1 -1
- {notionary-0.2.4.dist-info → notionary-0.2.5.dist-info}/RECORD +7 -7
- {notionary-0.2.4.dist-info → notionary-0.2.5.dist-info}/WHEEL +0 -0
- {notionary-0.2.4.dist-info → notionary-0.2.5.dist-info}/licenses/LICENSE +0 -0
- {notionary-0.2.4.dist-info → notionary-0.2.5.dist-info}/top_level.txt +0 -0
@@ -114,14 +114,6 @@ class CodeBlockElement(NotionBlockElement):
|
|
114
114
|
{
|
115
115
|
"type": "text",
|
116
116
|
"text": {"content": content},
|
117
|
-
"annotations": {
|
118
|
-
"bold": False,
|
119
|
-
"italic": False,
|
120
|
-
"strikethrough": False,
|
121
|
-
"underline": False,
|
122
|
-
"code": False,
|
123
|
-
"color": "default",
|
124
|
-
},
|
125
117
|
"plain_text": content,
|
126
118
|
}
|
127
119
|
],
|
@@ -25,6 +25,7 @@ class PageContentRetriever(LoggingMixin):
|
|
25
25
|
|
26
26
|
async def get_page_content(self) -> str:
|
27
27
|
blocks = await self._get_page_blocks_with_children()
|
28
|
+
print("blocks", json.dumps(blocks, indent=2))
|
28
29
|
return self._notion_to_markdown_converter.convert(blocks)
|
29
30
|
|
30
31
|
async def _get_page_blocks_with_children(
|
@@ -8,7 +8,7 @@ notionary/elements/audio_element.py,sha256=7bEpFl9jA6S1UZlEXsmFzEUVoViEp1o_7zZIC
|
|
8
8
|
notionary/elements/bookmark_element.py,sha256=msCtZvuPkIj1kiShNwE8i1GDYwamFb5mwRyZm4XyVY4,8145
|
9
9
|
notionary/elements/bulleted_list_element.py,sha256=obsb3JqUNET3uS5OZM3yzDqxSzJzUuEob-Fzx0UIg9Y,2664
|
10
10
|
notionary/elements/callout_element.py,sha256=ZsRvRtVy9kxdTwgrB5JGjZ4qcCiwcC0WimWJ_cW0aLY,4492
|
11
|
-
notionary/elements/code_block_element.py,sha256=
|
11
|
+
notionary/elements/code_block_element.py,sha256=Zy5l8bsX2R1QBgmCZDM_tkxzSXylHABshKY8r0kNBBo,5853
|
12
12
|
notionary/elements/divider_element.py,sha256=0e10YK-CC8uGuL7921dEIjeJK9ha-WhRIYRf2fFuxVQ,2211
|
13
13
|
notionary/elements/embed_element.py,sha256=Zcc18Kl8SGoG98P2aYE0TkBviRvSz-sYOdjMEs-tvgk,4579
|
14
14
|
notionary/elements/heading_element.py,sha256=kqgjyfaawEODir2tzDyf7-7wm38DbqoZnsH5k94GsA0,3013
|
@@ -36,7 +36,7 @@ notionary/page/notion_page.py,sha256=NDxAJaNk4tlKUrenhKBdnuvjlVgnxC0Z6fprf2LyNeE
|
|
36
36
|
notionary/page/notion_page_factory.py,sha256=2A3M5Ub_kV2-q7PPRqDgfwBjhkGCwtL5i3Kr2RfvvVo,7213
|
37
37
|
notionary/page/notion_to_markdown_converter.py,sha256=vUQss0J7LUFLULGvW27PjaTFuWi8OsRQAUBowSYorkM,6408
|
38
38
|
notionary/page/content/notion_page_content_chunker.py,sha256=xRks74Dqec-De6-AVTxMPnXs-MSJBzSm1HfJfaHiKr8,3330
|
39
|
-
notionary/page/content/page_content_retriever.py,sha256=
|
39
|
+
notionary/page/content/page_content_retriever.py,sha256=i6y4Q3_5EIzsd6HRgO3G-v1STZs1060OJe5DFkZi-QI,2290
|
40
40
|
notionary/page/content/page_content_writer.py,sha256=czBzNCGcwdpqNLSQPyna1s8Y7pjyPzDgJC3UUK5PLGA,3793
|
41
41
|
notionary/page/metadata/metadata_editor.py,sha256=HI7m8Zn_Lz6x36rBnW1EnbicVS-4Q8NmCJYKN-OlY-c,5130
|
42
42
|
notionary/page/metadata/notion_icon_manager.py,sha256=6a9GS5sT0trfuAb0hlF2Cw_Wc1oM59a1QA4kO9asvMA,2576
|
@@ -53,8 +53,8 @@ notionary/prompting/markdown_syntax_prompt_generator.py,sha256=0hD2DZDDjQ3ZKHPvZ
|
|
53
53
|
notionary/util/logging_mixin.py,sha256=b6wHj0IoVSWXbHh0yynfJlwvIR33G2qmaGNzrqyb7Gs,1825
|
54
54
|
notionary/util/page_id_utils.py,sha256=EYNMxgf-7ghzL5K8lKZBZfW7g5CsdY0Xuj4IYmU8RPk,1381
|
55
55
|
notionary/util/warn_direct_constructor_usage.py,sha256=vyJR73F95XVSRWIbyij-82IGOpAne9SBPM25eDpZfSU,1715
|
56
|
-
notionary-0.2.
|
57
|
-
notionary-0.2.
|
58
|
-
notionary-0.2.
|
59
|
-
notionary-0.2.
|
60
|
-
notionary-0.2.
|
56
|
+
notionary-0.2.5.dist-info/licenses/LICENSE,sha256=zOm3cRT1qD49eg7vgw95MI79rpUAZa1kRBFwL2FkAr8,1120
|
57
|
+
notionary-0.2.5.dist-info/METADATA,sha256=QT7PBlbv3Qu6BqzamzrxZnf28zwZp43_IgBa4F3uCwo,8374
|
58
|
+
notionary-0.2.5.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
|
59
|
+
notionary-0.2.5.dist-info/top_level.txt,sha256=fhONa6BMHQXqthx5PanWGbPL0b8rdFqhrJKVLf_adSs,10
|
60
|
+
notionary-0.2.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|