heroku/heroku.py — pull request #32 by gabrtv (2013-03-13 22:00:45+00:00)
Title: Pass kwargs through to HerokuCore to allow overriding session with trusted_env=False.  Workaround for Issue #33.

Pass kwargs through to HerokuCore to allow overriding session with trusted_env=False. Workaround for Issue #33.

Use with:

import heroku
import requests
session=requests.session()
session.trust_env=False
h=heroku.from_key('xxx', session=session)