(proxy_config)
return session
This method was pulled from
    https://github.com/mopidy/mopidy-spotify/blob/master/mopidy_spotify/utils.py
    The possibility for proxy configuration was dropped and a static user agent is used
    in order to remove the dependency to mopdiy.
This method was pulled from
    https://github.com/mopidy/mopidy-spotify/blob/master/mopidy_spotify/utils.py
    The possibility for proxy configuration was dropped and a static user agent is used
    in order to remove the dependency to mopdiy.
This method was pulled from https : // github . com / mopidy / mopidy - spotify / blob / master / mopidy_spotify / utils . py The possibility for proxy configuration was dropped and a static user agent is used in order to remove the dependency to mopdiy .
def get_requests_session(proxy_config):
    """This method was pulled from
    https://github.com/mopidy/mopidy-spotify/blob/master/mopidy_spotify/utils.py
    The possibility for proxy configuration was dropped and a static user agent is used
    in order to remove the dependency to mopdiy."""
    full_user_agent = "Mopidy-Spotify/4.0.1 Mopidy/3.0.2 CPython/3.7.5"

    session = requests.Session()
    session.headers.update({"user-agent": full_user_agent})

    return session
def get_requests_session ( proxy_config ) : full_user_agent = "Mopidy-Spotify/4.0.1 Mopidy/3.0.2 CPython/3.7.5" session = requests . Session ( ) session . headers . update ( { "user-agent" : full_user_agent } ) return session