readers.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:central 作者: viniciuschiele 项目源码 文件源码
def read(self, stream):
        """
        Read the given stream and returns it as a dict.
        :param stream: The stream to read the configuration from.
        :return IgnoreCaseDict: The configuration read from the stream.
        """
        if stream is None:
            raise ValueError('stream cannot be None')

        return yaml.load(stream, Loader=self._get_loader())
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号