📅  最后修改于: 2022-03-11 14:55:15.801000             🧑  作者: Mango
from typing import List, TYPE_CHECKING
if TYPE_CHECKING:
from edge import Edge
class Vertex:
def __init__(self, label: str):
self.label = label
self.adjacency_list: List['Edge'] = []