Sync
notionsci.sync
special
markdown
special
pages
MarkdownPage
dataclass
MarkdownPage(filename: str, path: Optional[str] = None, created_at: Optional[datetime.datetime] = None, updated_at: Optional[datetime.datetime] = None, synced_at: Optional[datetime.datetime] = None, deleted: bool = False)
MarkdownPagesSync
dataclass
MarkdownPagesSync(notion: notionsci.connections.notion.client.NotionClient, database_id: str, markdown_dir: str)
structure
Action
dataclass
Action(action_type: notionsci.sync.structure.ActionType, target: Optional[notionsci.sync.structure.ActionTarget] = None, a: Optional[~A] = None, b: Optional[~B] = None)
ActionTarget
An enumeration.
ActionType
An enumeration.
zotero
special
base
ZoteroNotionSync
dataclass
ZoteroNotionSync(notion: notionsci.connections.notion.client.NotionClient, zotero: notionsci.connections.zotero.client.ZoteroClient, database_id: str, force: bool = False, last_sync_date: Optional[datetime.datetime] = None)
collections
CollectionsSync
dataclass
CollectionsSync(notion: notionsci.connections.notion.client.NotionClient, zotero: notionsci.connections.zotero.client.ZoteroClient, database_id: str, force: bool = False, last_sync_date: Optional[datetime.datetime] = None, zotero_notion_ids: Dict[str, str] =
refs
RefsSync
dataclass
RefsSync(notion: notionsci.connections.notion.client.NotionClient, zotero: notionsci.connections.zotero.client.ZoteroClient, database_id: str, force: bool = False, last_sync_date: Optional[datetime.datetime] = None, collections_id: Optional[str] = None, notion_collections: Dict[str, notionsci.connections.notion.structures.content.Page] =