def run_on_load(callback):
    """
    Run the given callback when settings are loaded.
    :type callback: () -> None
    """
    if _settings is None:
        run_on_load_callbacks.add(callback)
    else:
        callback()
dataset/ETHPy150Open Varriount/NimLime/nimlime_core/settings.py/run_on_load/original