def __init__(self, method, index=None):
            self.method = method
            self.index = index
In case object was created with index != None,
dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/test/integration_tests/regions/baseregion.py/BaseRegion._DynamicProperty.__init__