Beispiel #1
0
 def to_yaml(cls, representer: Representer, node: Enum) -> Any:
     return representer.represent_str(node._name_)  # type: ignore
def represent_paths(self, data: PurePath):
    return Representer.represent_str(self, data.as_posix())