As per https://stackoverflow.com/questions/1950306/pyyaml-dumping-without-tags it seems that changing yaml.dump() to yaml.safe_dump() should fix this.
確定! 回上一頁