notionhelper 0.4.1__py3-none-any.whl → 0.4.3__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.
notionhelper/helper.py
CHANGED
|
@@ -537,7 +537,8 @@ class NotionHelper:
|
|
|
537
537
|
property_type = value.get("type", "")
|
|
538
538
|
if property_type in allowed_properties:
|
|
539
539
|
if property_type == "title":
|
|
540
|
-
|
|
540
|
+
title_list = value.get("title", [])
|
|
541
|
+
row[key] = title_list[0].get("plain_text", "") if title_list else ""
|
|
541
542
|
elif property_type == "status":
|
|
542
543
|
row[key] = value.get("status", {}).get("name", "")
|
|
543
544
|
elif property_type == "number":
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: notionhelper
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: NotionHelper is a Python library that simplifies interactions with the Notion API, enabling easy management of databases, pages, and files within Notion workspaces.
|
|
5
5
|
Author-email: Jan du Plessis <drjanduplessis@icloud.com>
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
notionhelper/__init__.py,sha256=lidq1uQioToT1ePIu02XktGYTPMp_uY5Btw63GlNqOo,117
|
|
2
|
+
notionhelper/helper.py,sha256=6-iJU2y9YlGinadvnRWFeq0rvh5fbYYHsYDkS4bkhHk,33075
|
|
3
|
+
notionhelper/ml_logger.py,sha256=ex8Zy7reorLy5sOEfbDVZPwY2lsERJTTaJf3Ybj_vyg,8658
|
|
4
|
+
notionhelper-0.4.3.dist-info/METADATA,sha256=0ihGQhV_WjPuYLwx9ctWQqLCeRKIQC7r0FfMOqzGLM4,21227
|
|
5
|
+
notionhelper-0.4.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
6
|
+
notionhelper-0.4.3.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
notionhelper/__init__.py,sha256=lidq1uQioToT1ePIu02XktGYTPMp_uY5Btw63GlNqOo,117
|
|
2
|
-
notionhelper/helper.py,sha256=s2d2chVsQTFeE9zyn6onfVms21jpVstKENQEu1jhKaY,33007
|
|
3
|
-
notionhelper/ml_logger.py,sha256=ex8Zy7reorLy5sOEfbDVZPwY2lsERJTTaJf3Ybj_vyg,8658
|
|
4
|
-
notionhelper-0.4.1.dist-info/METADATA,sha256=T7ZINp4OGRKFKddgznBnbVjRRQG7Ol5X6DiD8FdB9mA,21227
|
|
5
|
-
notionhelper-0.4.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
6
|
-
notionhelper-0.4.1.dist-info/RECORD,,
|
|
File without changes
|