def __init__(
            self,
            target=None, args=None, kwargs=None, advices=None, ctx=None,
            exec_ctx=None
    ):
        """Initialize a new Joinpoint with optional parameters such as a
        target, its calling arguments (args and kwargs) and a list of
            advices (callable which take self in parameter).

        If target, args and kwargs are not None, self Joinpoint use them in a
            static context. Otherwise, they will be resolved at proceeding
            time.

        :param callable target: target which is intercepted by advices.
        :param tuple args: target call varargs argument.
        :param dict kwargs: target call keywords argument.
        :param Iterable advices: iterable of advices which take in parameters
            this joinpoint. If None, they will be dynamically loaded during
            self proceeding time related to target.
        :param dict exec_ctx: execution context. Empty dict by default.
        :param ctx: target ctx if target is an class/instance attribute.
        """

        super(Joinpoint, self).__init__()

        self._advices_iterator = None

        # init critical parameters
        self._interception = None
        self.ctx = None
        self.target = None

        # set target arguments
        self.args = () if args is None else args
        self.kwargs = {} if kwargs is None else kwargs

        # set advices
        self._advices = advices

        # set context
        self._exec_ctx = {} if exec_ctx is None else exec_ctx
        self.exec_ctx = None

        # set target
        self.set_target(target=target, ctx=ctx)
def __init__ ( self , target = None , args = None , kwargs = None , advices = None , ctx = None , exec_ctx = None ) : super ( Joinpoint , self ) . __init__ ( ) self . _advices_iterator = None self . _interception = None self . ctx = None self . target = None self . args = ( ) if args is None else args self . kwargs = { } if kwargs is None else kwargs self . _advices = advices self . _exec_ctx = { } if exec_ctx is None else exec_ctx self . exec_ctx = None self . set_target ( target = target , ctx = ctx )
Initialize a new Joinpoint with optional parameters such as a
        target, its calling arguments (args and kwargs) and a list of
            advices (callable which take self in parameter).

        If target, args and kwargs are not None, self Joinpoint use them in a
            static context. Otherwise, they will be resolved at proceeding
            time.

        :param callable target: target which is intercepted by advices.
        :param tuple args: target call varargs argument.
        :param dict kwargs: target call keywords argument.
        :param Iterable advices: iterable of advices which take in parameters
            this joinpoint. If None, they will be dynamically loaded during
            self proceeding time related to target.
        :param dict exec_ctx: execution context. Empty dict by default.
        :param ctx: target ctx if target is an class/instance attribute.