notionary 0.1.4__py3-none-any.whl → 0.1.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.
@@ -379,10 +379,12 @@ class NotionDatabaseSchema:
379
379
  return
380
380
 
381
381
  for page in result["results"]:
382
- page_id = page.get("id", "")
382
+ page_id: str = page.get("id", "")
383
383
  title = self._extract_page_title(page)
384
+
385
+ page_url = f"https://notion.so/{page_id.replace('-', '')}"
384
386
 
385
- notion_page_manager = NotionPageManager(page_id=page_id, title=title)
387
+ notion_page_manager = NotionPageManager(page_id=page_id, title=title, url=page_url)
386
388
  yield notion_page_manager
387
389
 
388
390
  has_more = result.get("has_more", False)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: notionary
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: A toolkit to convert between Markdown and Notion blocks
5
5
  Home-page: https://github.com/mathisarends/notionary
6
6
  Author: Mathis Arends
@@ -26,7 +26,7 @@ notionary/core/database/database_query_service.py,sha256=ggD-Sx9GdRTeKn9ytGBxijQ
26
26
  notionary/core/database/database_schema_service.py,sha256=aVyguzw8YjgQ632TDyRCDfWWCsIok3vJ4Sx3dnG9pss,1869
27
27
  notionary/core/database/notion_database_manager.py,sha256=E3qUxPYEJ1drurmtZaqepskH84Iw-4RN3MyXv8cb8zQ,11443
28
28
  notionary/core/database/notion_database_manager_factory.py,sha256=jYQeoWV4VKyfCkbxCMVf0aeShfXDvE2EVTs3Jr--Ro8,8285
29
- notionary/core/database/notion_database_schema.py,sha256=DpZPkrR15u24PGd8jhTrqngu__5LviEsU-VBZgRzrHM,12486
29
+ notionary/core/database/notion_database_schema.py,sha256=OtAsKzga7eiWzUa4AasNO2MBOTlQERQ_9Gk22Kc6f64,12599
30
30
  notionary/core/database/notion_database_writer.py,sha256=qpKOSDLI89GWL1kDnzLKSY5GVIzQHVYAWUl12_n-nwU,13651
31
31
  notionary/core/database/page_service.py,sha256=NzKCU2G-mnmqOitNWCJ6jOr0HSv1vPi1-ScSruvFdqg,5190
32
32
  notionary/core/database/models/page_result.py,sha256=Vmm5_oYpYAkIIJVoTd1ZZGloeC3cmFLMYP255mAmtaw,233
@@ -39,8 +39,8 @@ notionary/exceptions/page_creation_exception.py,sha256=4v7IuZD6GsQLrqhDLriGjuG3M
39
39
  notionary/util/logging_mixin.py,sha256=fKsx9t90bwvL74ZX3dU-sXdC4TZCQyO6qU9I8txkw_U,1369
40
40
  notionary/util/singleton_decorator.py,sha256=GTNMfIlVNRUVMw_c88xqd12-DcqZJjmyidN54yqiNVw,472
41
41
  notionary/util/uuid_utils.py,sha256=qS2tdJSqw_gLyQxVIqlIdmkzGa7b9bJ-vw88RiQ-oGc,680
42
- notionary-0.1.4.dist-info/licenses/LICENSE,sha256=zOm3cRT1qD49eg7vgw95MI79rpUAZa1kRBFwL2FkAr8,1120
43
- notionary-0.1.4.dist-info/METADATA,sha256=xcQjDgdfcTJ7T5ThHVPanYDcfYIMeNKo841a1_Ijs14,6153
44
- notionary-0.1.4.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
45
- notionary-0.1.4.dist-info/top_level.txt,sha256=fhONa6BMHQXqthx5PanWGbPL0b8rdFqhrJKVLf_adSs,10
46
- notionary-0.1.4.dist-info/RECORD,,
42
+ notionary-0.1.5.dist-info/licenses/LICENSE,sha256=zOm3cRT1qD49eg7vgw95MI79rpUAZa1kRBFwL2FkAr8,1120
43
+ notionary-0.1.5.dist-info/METADATA,sha256=wePE3ZKB5XAgi4VYe_zUBc1NnA-R0R3q3hAkG5jFnVA,6153
44
+ notionary-0.1.5.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
45
+ notionary-0.1.5.dist-info/top_level.txt,sha256=fhONa6BMHQXqthx5PanWGbPL0b8rdFqhrJKVLf_adSs,10
46
+ notionary-0.1.5.dist-info/RECORD,,