notionary 0.1.27__py3-none-any.whl → 0.1.28__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/page/metadata/notion_icon_manager.py +3 -3
- notionary/page/metadata/notion_page_cover_manager.py +11 -1
- {notionary-0.1.27.dist-info → notionary-0.1.28.dist-info}/METADATA +1 -1
- {notionary-0.1.27.dist-info → notionary-0.1.28.dist-info}/RECORD +7 -7
- {notionary-0.1.27.dist-info → notionary-0.1.28.dist-info}/WHEEL +0 -0
- {notionary-0.1.27.dist-info → notionary-0.1.28.dist-info}/licenses/LICENSE +0 -0
- {notionary-0.1.27.dist-info → notionary-0.1.28.dist-info}/top_level.txt +0 -0
@@ -32,14 +32,14 @@ class NotionPageIconManager(LoggingMixin):
|
|
32
32
|
|
33
33
|
if not page_data:
|
34
34
|
return ""
|
35
|
-
|
35
|
+
|
36
36
|
# Get icon data, default to empty dict if not present or None
|
37
37
|
icon_data = page_data.get("icon")
|
38
|
-
|
38
|
+
|
39
39
|
# If icon is None or not present, return None
|
40
40
|
if not icon_data:
|
41
41
|
return ""
|
42
|
-
|
42
|
+
|
43
43
|
icon_type = icon_data.get("type")
|
44
44
|
|
45
45
|
if icon_type == "emoji":
|
@@ -40,4 +40,14 @@ class NotionPageCoverManager(LoggingMixin):
|
|
40
40
|
if not page_data:
|
41
41
|
return ""
|
42
42
|
|
43
|
-
|
43
|
+
cover = page_data.get("cover")
|
44
|
+
|
45
|
+
if not cover or not isinstance(cover, dict):
|
46
|
+
return ""
|
47
|
+
|
48
|
+
external = cover.get("external")
|
49
|
+
|
50
|
+
if not external or not isinstance(external, dict):
|
51
|
+
return ""
|
52
|
+
|
53
|
+
return external.get("url", "")
|
@@ -38,8 +38,8 @@ notionary/page/notion_to_markdown_converter.py,sha256=EUiHeurQb73zQJ5Gatvf_67vWd
|
|
38
38
|
notionary/page/content/notion_page_content_chunker.py,sha256=xRks74Dqec-De6-AVTxMPnXs-MSJBzSm1HfJfaHiKr8,3330
|
39
39
|
notionary/page/content/page_content_manager.py,sha256=0Bl52mEqKuhDGuJhOEMhGjJWHgxCiqGYjrqO1LqYzJM,6403
|
40
40
|
notionary/page/metadata/metadata_editor.py,sha256=61uiw8oB25O8ePhytoJvZDetuof5sjPoM6aoHZGo4wc,4949
|
41
|
-
notionary/page/metadata/notion_icon_manager.py,sha256=
|
42
|
-
notionary/page/metadata/notion_page_cover_manager.py,sha256=
|
41
|
+
notionary/page/metadata/notion_icon_manager.py,sha256=I4MczURRYc1PV0qDFwbCCzicqiDyOhKpdk9E2b9lWMc,1579
|
42
|
+
notionary/page/metadata/notion_page_cover_manager.py,sha256=hasXPIbTy9rD55tHr_zzF2yj_lD0RsULz5UP0rNRx4g,1929
|
43
43
|
notionary/page/properites/database_property_service.py,sha256=AJuBGahbb53VQa6IGGHxBMoOgCy6vFZg08uR_eDjNUs,11570
|
44
44
|
notionary/page/properites/page_property_manager.py,sha256=Xl8Cwn8WVszqpFXT_NvASkmP5igpCTEgRVhG_F45424,6914
|
45
45
|
notionary/page/properites/property_formatter.py,sha256=d_Nr5XQxgjB6VIS0u3ey14MOUKY416o_BvdXjbkUNAQ,3667
|
@@ -51,8 +51,8 @@ notionary/page/relations/page_database_relation.py,sha256=F9aGXFjjL8ZLNbfTGeGm_Q
|
|
51
51
|
notionary/page/relations/relation_operation_result.py,sha256=NDxBzGntOxc_89ti-HG8xDSqfY6PwyGHKHrrKbCzNjM,5010
|
52
52
|
notionary/util/logging_mixin.py,sha256=fKsx9t90bwvL74ZX3dU-sXdC4TZCQyO6qU9I8txkw_U,1369
|
53
53
|
notionary/util/page_id_utils.py,sha256=EYNMxgf-7ghzL5K8lKZBZfW7g5CsdY0Xuj4IYmU8RPk,1381
|
54
|
-
notionary-0.1.
|
55
|
-
notionary-0.1.
|
56
|
-
notionary-0.1.
|
57
|
-
notionary-0.1.
|
58
|
-
notionary-0.1.
|
54
|
+
notionary-0.1.28.dist-info/licenses/LICENSE,sha256=zOm3cRT1qD49eg7vgw95MI79rpUAZa1kRBFwL2FkAr8,1120
|
55
|
+
notionary-0.1.28.dist-info/METADATA,sha256=09cAT-X3imeOHrG-VKtcOLSUJ_pPLiioAnxJ2e4cdwg,8342
|
56
|
+
notionary-0.1.28.dist-info/WHEEL,sha256=GHB6lJx2juba1wDgXDNlMTyM13ckjBMKf-OnwgKOCtA,91
|
57
|
+
notionary-0.1.28.dist-info/top_level.txt,sha256=fhONa6BMHQXqthx5PanWGbPL0b8rdFqhrJKVLf_adSs,10
|
58
|
+
notionary-0.1.28.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|