Skip to content

Spotify App needs refactoring to reduce code repetition #62

Description

@AsquaredWsquared

We can spin these lines off into a separate file to stop repeating ourselves

    cache_handler = spotipy.cache_handler.CacheFileHandler(cache_path=session_cache_path(request))
    auth_manager = spotipy.oauth2.SpotifyOAuth(cache_handler=cache_handler)

    spotify = spotipy.Spotify(auth_manager=auth_manager)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions