def only_once(fn):

    once = [fn]

    def go(*arg, **kw):
        if once:
            once_fn = once.pop()
            return once_fn(*arg, **kw)

    return go
Shortcut for main() routine for provider
dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/packages/sqlalchemy/util/langhelpers.py/only_once--crossover with--dataset/ETHPy150Open novel/lc-tools/lctools/shortcuts.py/save_image_main