PYGitHubCrawler/models/IssueNode.py

14 lines
278 B
Python
Raw Permalink Normal View History

2023-03-22 14:54:27 +08:00
from models.Node import Node
class IssueNode(Node):
handled: int
def __init__(self, **kwargs) -> None:
super().__init__(**kwargs)
if "handled" in kwargs:
self.handled = kwargs['handled']
else:
self.handled = 0