Skip to content

Commit

Permalink
fix: avoid warning when uploading tables
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhd1701 committed May 27, 2022
1 parent 5e05a84 commit d0aa9ea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions enex2notion/notion_blocks/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
from notion.block import BasicBlock

from enex2notion.notion_blocks.base import NotionBaseBlock
from enex2notion.notion_blocks.text import NotionTextBased, TextProp
from enex2notion.notion_blocks.text import TextProp
from enex2notion.utils_rand_id import rand_id_list


class TableBlock(BasicBlock):

_type = "table"


Expand Down Expand Up @@ -41,5 +40,5 @@ def iter_rows(self):
)


class NotionTableRowBlock(NotionTextBased):
class NotionTableRowBlock(NotionBaseBlock):
type = TableRowBlock

0 comments on commit d0aa9ea

Please sign in to comment.