def _assure_identity(fnc):
    def _wrapped(*args, **kwargs):
        if identity is None:
            _create_identity()
        return fnc(*args, **kwargs)
    return _wrapped
Init method.
dataset/ETHPy150Open rackspace/pyrax/pyrax/__init__.py/_assure_identity--crossover with--dataset/ETHPy150Open los-cocos/cocos/cocos/actions/interval_actions.py/Accelerate.init