This package provides an HTTP transport for nirum-python.
from youtservice import YourService_Client
from nirum_http import HttpTransport
transport = HttpTransport('https://service-host/')
client = YourService_Client(transport)
Since HttpTransport
utilizes requests library under the hood, it can take
a session object as well:
from requests import Session
session = Session()
session.auth = ('user', 'password')
transport = HttpTransport('https://service-host/', session=session)