def __init__()

in hugegraph-python-client/src/pyhugegraph/structure/edge_data.py [0:0]


    def __init__(self, dic):
        self.__id = dic["id"]
        self.__label = dic["label"] if "label" in dic else None
        self.__type = dic["type"] if "type" in dic else None
        self.__outV = dic["outV"] if "outV" in dic else None
        self.__outVLabel = dic["outVLabel"] if "outVLabel" in dic else None
        self.__inV = dic["inV"] if "inV" in dic else None
        self.__inVLabel = dic["inVLabel"] if "inVLabel" in dic else None
        self.__properties = dic["properties"] if "properties" in dic else None