spotify/models/user.py
async def currently_playing(self) -> Tuple[Context, Track]:
        """Get the users currently playing track.

        Returns
        -------
        context, track : Tuple[Context, Track]
            A tuple of the context and track.
        """
        data = await self.http.currently_playing()

        if data.get('item'):
            data['Context'] = Context(data.get('context'))
            data['item'] = Track(self.__client, data.get('item'))

        return data
async def currently_playing(self) -> Tuple[Context, Track]:
        data = await self.http.currently_playing()

        if data.get('item'):
            data['Context'] = Context(data.get('context'))
            data['item'] = Track(self.__client, data.get('item'))

        return data
async def currently_playing ( self ) -> Tuple [ Context , Track ] : data = await self . http . currently_playing ( ) if data . get ( 'item' ) : data [ 'Context' ] = Context ( data . get ( 'context' ) ) data [ 'item' ] = Track ( self . __client , data . get ( 'item' ) ) return data
Get the users currently playing track.

        Returns
        -------
        context, track : Tuple[Context, Track]
            A tuple of the context and track.
Get the users currently playing track .