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