notionary 0.1.16__tar.gz → 0.1.17__tar.gz
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-0.1.16 → notionary-0.1.17}/PKG-INFO +1 -1
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/content/page_content_manager.py +1 -3
- {notionary-0.1.16 → notionary-0.1.17}/notionary.egg-info/PKG-INFO +1 -1
- {notionary-0.1.16 → notionary-0.1.17}/setup.py +1 -1
- {notionary-0.1.16 → notionary-0.1.17}/LICENSE +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/README.md +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/__init__.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/database/database_discovery.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/database/database_info_service.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/database/models/page_result.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/database/notion_database.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/database/notion_database_factory.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/audio_element.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/block_element_registry.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/block_element_registry_builder.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/bookmark_element.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/callout_element.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/code_block_element.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/column_element.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/divider_element.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/embed_element.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/heading_element.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/image_element.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/list_element.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/mention_element.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/notion_block_element.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/paragraph_element.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/qoute_element.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/table_element.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/text_inline_formatter.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/todo_lists.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/toggle_element.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/elements/video_element.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/exceptions/database_exceptions.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/exceptions/page_creation_exception.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/notion_client.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/content/notion_page_content_chunker.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/markdown_to_notion_converter.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/metadata/metadata_editor.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/metadata/notion_icon_manager.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/metadata/notion_page_cover_manager.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/notion_page.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/notion_page_factory.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/notion_to_markdown_converter.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/properites/database_property_service.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/properites/page_property_manager.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/properites/property_formatter.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/properites/property_operation_result.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/properites/property_value_extractor.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/relations/notion_page_relation_manager.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/relations/notion_page_title_resolver.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/relations/page_database_relation.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/page/relations/relation_operation_result.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/util/logging_mixin.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/util/page_id_utils.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary/util/singleton_decorator.py +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary.egg-info/SOURCES.txt +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary.egg-info/dependency_links.txt +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary.egg-info/requires.txt +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/notionary.egg-info/top_level.txt +0 -0
- {notionary-0.1.16 → notionary-0.1.17}/setup.cfg +0 -0
@@ -39,8 +39,7 @@ class PageContentManager(LoggingMixin):
|
|
39
39
|
"""
|
40
40
|
try:
|
41
41
|
blocks = self._markdown_to_notion_converter.convert(markdown_text)
|
42
|
-
|
43
|
-
|
42
|
+
|
44
43
|
fixed_blocks = self._chunker.fix_blocks_content_length(blocks)
|
45
44
|
|
46
45
|
result = await self._client.patch(
|
@@ -173,5 +172,4 @@ class PageContentManager(LoggingMixin):
|
|
173
172
|
|
174
173
|
async def get_text(self) -> str:
|
175
174
|
blocks = await self.get_page_blocks_with_children()
|
176
|
-
print(json.dumps(blocks, indent=4))
|
177
175
|
return self._notion_to_markdown_converter.convert(blocks)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{notionary-0.1.16 → notionary-0.1.17}/notionary/page/properites/database_property_service.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{notionary-0.1.16 → notionary-0.1.17}/notionary/page/properites/property_operation_result.py
RENAMED
File without changes
|
File without changes
|
{notionary-0.1.16 → notionary-0.1.17}/notionary/page/relations/notion_page_relation_manager.py
RENAMED
File without changes
|
{notionary-0.1.16 → notionary-0.1.17}/notionary/page/relations/notion_page_title_resolver.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|