Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/e/l/eliot-0.3.0/eliot/_message.py   eliot(Download)
        """
        if action is None:
            action = currentAction()
        if action is None:
            action = _defaultAction
 
# Import at end to deal with circular imports:
from ._action import currentAction, Action
 
# The default Action to use as a context for messages, if no other Action is the

src/e/l/eliot-0.3.0/eliot/tests/test_action.py   eliot(Download)
    twisted = None
 
from .._action import (
    Action, _ExecutionContext, currentAction, startTask, startAction,
    )
        result = []
        action = Action(None, "", "", "")
        action.run(lambda: result.append(currentAction()))
        self.assertEqual(result, [action])