preheat_open.configuration.run_if_production_mode
- preheat_open.configuration.run_if_production_mode(function, runtime_mode=None, *args, **kwargs)
Runs a function if the application is in production mode.
- Parameters:
configuration (Configuration) – The configuration settings for the application.
function (callable) – The function to run.
- Return type:
Any