def get_published_playlists(self, canonical_username=None):
        if canonical_username is None:
            canonical_username = ffi.NULL
        else:
            canonical_username = utils.to_bytes(canonical_username)
        sp_playlistcontainer = (
            lib.sp_session_publishedcontainer_for_user_create(
                self._sp_session, canonical_username))
        if sp_playlistcontainer == ffi.NULL:
            return None
        return spotify.PlaylistContainer._cached(
            self, sp_playlistcontainer, add_ref=False)
Propagate the provides attribute to the synthetic java_library() target for publishing.
dataset/ETHPy150Open mopidy/pyspotify/spotify/session.py/Session.get_published_playlists--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/codegen/tasks/apache_thrift_gen.py/ApacheThriftGen._copy_target_attributes