connection.py 文件源码

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

项目:pyspotify-connect 作者: chukysoria 项目源码 文件源码
def __init__(self, session):
        super(Connection, self).__init__()

        self._connectionStatus = ConnectionState.LoggedOut
        spotifyconnect._connection_instance = self

        self._cache = weakref.WeakValueDictionary()
        self._emitters = []
        self._callback_handles = set()

        spotifyconnect.Error.maybe_raise(
            lib.SpRegisterConnectionCallbacks(
                _ConnectionCallbacks.get_struct(), session))
        spotifyconnect.Error.maybe_raise(
            lib.SpRegisterDebugCallbacks(
                _DebugCallbacks.get_struct(), session))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号