multipart.py 文件源码

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

项目:kapsel 作者: conda 项目源码 文件源码
def __init__(self, encoder, callback=None):
        #: Instance of the :class:`MultipartEncoder` being monitored
        self.encoder = encoder

        #: Optionally function to call after a read
        self.callback = callback or IDENTITY

        #: Number of bytes already read from the :class:`MultipartEncoder`
        #: instance
        self.bytes_read = 0

        #: Avoid the same problem in bug #80
        self.len = self.encoder.len
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号