# How to get input and output address in a transaction with blocksci?

I have downloaded bitcoin core and have parsed it with blocksci. I want to get the data about the inputs and outputs of each transaction like this:

import blocksci
chain = blocksci.Blockchain('./btc.cfg')
for block in chain:
for tx in block:

address is a property under class blocksci.InputRange, with type blocksci.AddressRange. I do not understand the below part in document so I can't figure out what should be filled as argument in with_type to make it return the inputs as a list to result.
class blocksci.AddressRange