migration-is-back

This commit is contained in:
2022-08-11 12:14:12 +03:00
parent 83f5f280b2
commit 65532ea1a3
20 changed files with 3848 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
from typing import Dict, Optional
class AnchorElement:
__slots__ = ["attrs", "count", "outcount"]
def __init__(self, attrs: Dict[str, Optional[str]], count: int, outcount: int):
self.attrs = attrs
self.count = count
self.outcount = outcount
class ListElement:
__slots__ = ["name", "num"]
def __init__(self, name: str, num: int):
self.name = name
self.num = num