def on_start(param=None, **kwargs):
 def _on_start_hook(func):
  hook = _get_hook(func, 'on_start')
  if (hook is None):
   hook = _Hook(func, 'on_start')
   _add_hook(func, hook)
  hook._add_hook(kwargs)
  return func
 if callable(param):
  return _on_start_hook(param)
 else:
  return (lambda func: _on_start_hook(func))

def on_start ( param = None , ** kwargs ) : def _on_start_hook ( func ) : hook = _get_hook ( func , 'on_start' ) if ( hook is None ) : hook = _Hook ( func , 'on_start' ) _add_hook ( func , hook ) hook . _add_hook ( kwargs ) return func if callable ( param ) : return _on_start_hook ( param ) else : return ( lambda func : _on_start_hook ( func ) )
loads api keys .