Did I find the right examples for you? yes no

All Samples(7)  |  Call(4)  |  Derive(0)  |  Import(3)

src/i/n/insights-HEAD/src/edinsights/core/registry.py   insights(Download)
        arglist = inspect.getargspec(handler).args
 
    from util import optional_parameter_call
    return optional_parameter_call(handler, kwargs, arglist)
 

src/i/n/insights-HEAD/src/edinsights/core/views.py   insights(Download)
import auth
import util
from util import optional_parameter_call
 
import logging
            for event in msg:
                try:
                    optional_parameter_call(event_func, {'events':[event]})
                except:
                    handle_event_exception(e['function'])
        else: ## Message was a list of events, and handler can batch events
            try:
                optional_parameter_call(event_func, {'events':msg})

src/i/n/insights-HEAD/src/edinsights/core/decorators.py   insights(Download)
 
from celery.task import periodic_task
from util import optional_parameter_call
 
import registry
                func = f
 
            result = optional_parameter_call(func, params)
 
            return result